Time Functions

 

 

Function list

By type

Alphabetically

 

 

FileTimeCode( filename )

Returns a machine readable/computable code for a file time.

FileTimeGet( filename )

Returns file date and time.

FileTimeGetEx( filename, time-field )

Gets extended time information for a file or directory.

FileTimeSet( list, datetime )

Sets the date and time of one or more files.

FileTimeSetEx( file-list, datetime, time-field )

Sets extended time information for one or more files.

FileTimeTouch( file-list )

Sets file(s) to current time.

FileYmdHms( filename )

Returns a file time in the YmdHms datetime format.

GetExactTime( )

Returns the current time in hundredths of a second.

GetTickCount( )

Returns the number of clock ticks used by Windows since
Windows started.

GetTickCount64( )

Returns the number of clock ticks used by Windows since
Windows started as a 64-bit integer.

TimeAdd( datetime1, datetime2 )

Adds two YmdHms variables.

TimeDate( )

Provides the current date and time in a readable format.

TimeDayofWeek

Example: Using the WIL language it is possible to grab the day of the week. The following example from TimeJulianDay grabs the current time and day of the week.

TimeDayofYear

Example: Using the WIL language it is possible to grab the day of the year. The following example from TimeJulianDay grabs the current time and day of the year.

TimeDelay( seconds )

Pauses execution for a specified amount of time.

TimeDiff( datetime1, datetime2 )

Returns the difference between two points in time.

TimeDiffDays( datetime1, datetime2 )

Returns the difference in days between the two dates.

TimeDiffSecs( datetime1, datetime2 )

Returns the time difference in seconds between the two date times.

TimeFormat( ymdhms, format )

Returns the date and/or time as a text string in the indicated format.

TimeJulianDay( datetime )

Returns the Julian day given a datetime.

TimeJulToYmd( julian-date )

Returns a datetime given a Julian day.

TimeSubtract( datetime, datetime difference )

Subtracts one YmdHms variable from another.

TimeWait( datetime )

Pauses execution and waits for the datetime to pass.

TimeYmdHms( )

Returns current date and time in the YMDHMS datetime format.

TimeZoneConvert ( datetime, from-tzid, to-tzid )

Returns date and time in another time zone.

TimeZoneList( [option])

Returns one or more known time zone ids.

Yields( count )

Provides time for other windows to do processing.