Navigation:  thinBasic language > Modules > DT (Date Handling) >

DT_SetTimeSeparator

Previous pageReturn to chapter overviewNext page

 

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.6.0.10 Web Site: http://www.thinbasic.com