Converts the VBA Date to the UTC format used in RC-WinTrans.

Syntax:

DateToUTC(Date As Date) As String
Return: String
Parameters: Date Date to be converted (must contain the date and time).

Example:
Dim MyDate As Date
Dim MyDateInUTC As String
Dim Tool As TimeTool

Set Tool = Application.Tools.TimeTool

MyDate = #1/17/2004 12:45:12 AM#
MyDateInUTC = Tool.DateToUTC(MyDate)

See also:

Class TimeTool


Last Updated: 04/27/05