![]() |
![]() |
CorelScriptTools.FormatTime
Function FormatTime(Time As Date, Format As String) As String
Member of CorelScriptTools
In the following code example, the first line declares the date variable TodayDate. This variable is then assigned the current date and time with the GetCurrDate function. The StringTime variable is then assigned the current time using h:mm pm formatting.
DIM TimeNow AS DATE TimeNow = GETCURRDATE() StringTime = FORMATTIME (TimeNow, "HH:mm:ss tt") MESSAGE StringTime
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.