Navigation: thinBasic Modules > DT (Date Handling) > DT_SetTimeSeparator |
|
Description
The DT_SetTimeSeparator() function sets a the time separator character (':' for example).
Syntax
DT_SetTimeSeparator(sSeparator AS STRING) AS STRING
Returns
Returns AS STRING
The new time separator.
Parameters
sSeparator AS STRING
The date separator.
Remarks
Restrictions
See also
DT_GetTimeSeparator
Examples
IF DT_GetTimeSeparator() <> "." THEN
MSGBOX 0, "Set the time separator to: " & DT_SetTimeSeparator(".")
' results: "Set the time separator to: ."
END IF
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |