Return the system time in 24-hour format.
XSharp.Core (in XSharp.Core.dll) Version: 2.5
FUNCTION Time24() AS STRING
public static string Time24()
The system time in the form hh:mO:ss, where hh is hours in 24-hour format, mm is minutes, and ss is seconds.
Time24() does not depend on any other setting to determine its output format. Instead, it returns the system time. Time() is related to Seconds(), which returns the integer value representing the number of seconds since midnight.
These examples show the results of Time24() used with Substr() to extract the hour, minutes, and seconds:
2? Substr3(Time24(), 1, 2)
3? Substr3(Time24(), 4, 2)
4? Substr3(Time24(), 7, 2)