# Date and time format in log file

**URL:** https://www.finalbuilder.com/forums/t/date-and-time-format-in-log-file/2364
**Category:** Discussion
**Created:** [April 9, 2015, 9:31am UTC](https://www.finalbuilder.com/forums/t/date-and-time-format-in-log-file/2364 "2015-04-09T09:31:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jim\_shawver](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@jim\_shawver](https://www.finalbuilder.com/forums/u/jim_shawver)
#### Post date: [April 9, 2015, 9:31am UTC](https://www.finalbuilder.com/forums/t/date-and-time-format-in-log-file/2364/1 "2015-04-09T09:31:04Z")

</div>

When you export the build log to a file, is there a way to have the date and times printed using the system date and time formatting?

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [April 10, 2015, 1:22am UTC](https://www.finalbuilder.com/forums/t/date-and-time-format-in-log-file/2364/2 "2015-04-10T01:22:02Z")

</div>

Supplying an xslt file could be used to change the formatting to what you require.   
  
[XSL Transformations (XSLT) Version 2.0 (Second Edition)](http://www.w3.org/TR/xslt20/#format-date)

> xslt:format-dateTime   
>   
> Function signature   
>   
> $valuexs:dateTime ?   
> $picturexs:string   
> Resultxs:string   
> Formats a dateTime   
>   
> XSLT 2.0 Specification   
>   
> Supported with limitations. The function always formats the date for the current locale. Alphabetic forms of numbers (including ordinals) are not at present localized.

   
Examples of xslt files are located in "C:\Program Files (x86)\FinalBuilder 7\StyleSheets" (or the stylesheets directory where FinalBuilder is installed).
