|
|
|
|
|
TimeSys (Function) In french: HeureSys Returns or modifies the system time (current time defined for the current computer). Note: This function is identical to Now. Res = TimeSys()
Res = TimeToString(TimeSys())
HeureAct = Left(TimeSys(), 4)
Syntax <Result>: Character string or Time variable System time in HHMMSSCC format (HH corresponds to hours, MM to minutes, SS to seconds and CC to hundredths of a second). Remarks - Warning To change the system time, you must have administrator rights on the current workstation.
- To get the time in a format other than HHMMSSCC, the string must be formatted using DateToString, Right, Left, etc.
- The HHMMSSCC format was chosen because it allows you to compare two times with hundredths-of-a-second accuracy.
Related Examples:
|
Unit examples (WINDEV): Calculations on durations
[ + ] Calculations on dates and times with the WLanguage functions: - Calculate the duration between two moments (dates and times) - Calculate a sum of durations - Calculate an average of durations
|
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|