SetTimeSep Function (DWord) | |
Change the setting that determines the separation character to be used in time strings.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION SetTimeSep(
dwNewSetting AS DWORD
) AS DWORD
public static uint SetTimeSep(
uint dwNewSetting
)
Request Example
View SourceParameters
- dwNewSetting
- Type: DWord
The ASCII code for a character to be used as the time string separator (for example, periods or dashes).
The initial default is a colon (:), which is ASCII code 58. (Use GetTimeSep() to get the current setting.)
Return Value
Type:
DWord
The previous setting.
Remarks Examples
This example changes the way times are displayed from 24:00:00 to 24.00.00:
1FUNCTION Start()
2 SetTimeSep(Asc("."))
3 QOut(Time())
See Also