This method converts a date to the local time zone.
Syntax
ReplicationServer.EventTimeToLocalTime(Time)
Parameters
Time
The event time to convert.
Remarks
You must have Site Server Publishing administrator privileges on the server to call this method.
By default, the event time is in Greenwich Mean Time (GMT).
Example
The following example converts the event time.
Option Explicit
On Error Resume Next
const STAGER = 1
const CRS_ERROR_NO_MORE_ITEMS = 0&80003B17
dim ReplServer
set ReplServer = CreateObject("CrsApi.ReplicationServer")
ReplServer.Initialize("")
ReplServer.EventTimeToLocalTime Time
'Release objects
set Server = Nothing
set ReplServer = Nothing