Parameters > Citect.ini File Parameters > Page Parameters > [Page]DefaultTimestampFormat

[Page]DefaultTimestampFormat

This parameter defines the format of the string representation of timestamp when a Cicode TIMESTAMP function is used to initialize timestamp fields, or to extract a specific timestamp field to be displayed on graphical pages.

Allowable Values: Any valid "format" parameter value for the function TimestampToStr.

0 – Short time format, hh:mm.

1 – Long time format, hh:mm:ss.

2 – Short date format, dd/MM/yyyy.

3 – Long date format, dddd, dd MMMM yyyy.

4 – Short date & short time format, dd/MM/yyyy hh:mm.

5 – Short date & long time format, dd/MM/yyyy hh:mm:ss.

6 – Long date & short time format, dddd, dd MMMM yyyy hh:mm.

7 – Long date & long time format, dddd, dd MMMM yyyy hh:mm:ss.

8 – Month day format, dd MMMM.

9 – Year month format, MMMM yyyy.

10 – RFC1123 format, ddd, dd MMM yyy hh:mm:ss GMT

11 – Sortable date time format, yyyy-MM-ddThh:mm:ss

12 – Short universal format, yyyy-MM-dd hh:mm:ssZ

13 – Long universal format, dddd, dd MMMM yyyy hh:mm:ss

14 – Long Time & millisecond, hh:mm:ss.fff

UTC: Universal Time Co-ordinate (optional):

0 - Display the string as a local date/time (default).

1 - Display the string as a UTC date/time.Return Value

Default Value: 4

See Also