Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Time functions

&pagelevel(3)&pagelevel

Name

Brief description

asctime

Date and time

asctime_r

Thread-safe variant of asctime

clock

CPU time used since program call

clock_gettime

Get time of a specified clock

ctime

Date and time (CET)

ctime64

Date and time (CET) (variant with 64 bit time counter)

difftime

Calculate time difference

difftime64

Calculate time difference (variant with 64 bit time counter)

ftime

Current time (GMT) as a structure

gmtime

Date and current local time (CET) as a structure

gmtime64

Date and current local time (CET) as a structure (variant with 64 bit time counter)

localtime

Date and current local time (CET) as a structure

localtime64

Date and current local time (CET) as a structure (variant with 64 bit time counter)

mktime

Convert date and time (calendar function)

mktime64

Convert date and time (calendar function) (variant with 64 bit time counter)

strftime

Locale-specific formatting of date and time

time

Current time (GMT) in seconds

time64

Current time (GMT) in seconds (variant with 64 bit time counter)