Time Function | |
Return the system time in a format determined by various international settings.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION Time() AS STRING
public static string Time()
Request Example
View SourceReturn Value
Type:
String
The format of the return value is dependent on several functions, including SetAMPM(), SetAMExt(), SetPMExt(), and SetInternational(), which you can refer to for more information.
Remarks
Time() returns the system time. Time() is related to Seconds(), which returns the integer value representing the number of seconds since midnight.
Examples
These examples show the results of Time() under various circumstances:
1SetInternational(#Windows)
2
3
4? Time()
5SetInternational(#Clipper)
6? Time()
7SetAMPM(TRUE)
8SetPMExt(" pm")
9? Time()
See Also