GetTimeSep Function | |
Return the current separation character used in time strings.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION GetTimeSep() AS DWORD
public static uint GetTimeSep()
Request Example
View SourceReturn Value
Type:
DWord
The ASCII value of the current time separator (the character being used to separate hours, minutes and seconds in time strings). Since the default time separator is a colon (:), GetTimeSep() returns 58 by default. Note that you can use the Chr() function to convert this return value to a character.
Remarks Examples
This example uses GetTimeSep() to display the current time separator:
1? TIME()
2? GetTimeSep()
3? CHR(GetTimeSep())
4SetTimeSep(ASC("*"))
5? TIME()
6? GetTimeSep()
7? CHR(GetTimeSep())
See Also