This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
Time Display Formats

Time Display Formats 

 

 

 

Constant  Type Value Comment
Blank if null time  Longint 100

To be added to the format constant. Indicates that in the case of a null value, 4D must return an empty string instead of zeros

HH MM  Longint 2 01:02
HH MM AM PM  Longint 5 1:02 AM
HH MM SS  Longint 1 01:02:03
Hour min  Longint 4 1 hour 2 minutes
Hour min sec  Longint 3 1 hour 2 minutes 3 seconds
ISO time  Longint 8

0000-00-00T01:02:03. Corresponds to the ISO8601 standard and contains, in theory, a date and a time. Since this format does not support combined dates/times, the date part is filled with 0s. This format expresses the local time.

Min sec  Longint 7 62 minutes 3 seconds
MM SS  Longint 6 62:03
System time long  Longint 11 1:02:03 AM HNEC (Mac only)
System time long abbreviated  Longint 10 1•02•03 AM (Mac only)
System time short  Longint 9 01:02:03


See also 

OBJECT SET FORMAT
String

 
PROPERTIES 

Product: 4D
Theme: List of constant themes

 
HISTORY 

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)