GetLocalDateTime (FUN)

FUNCTION GetLocalDateTime : ULINT

Related to TimeZone in tzTimeZone this function returns the current date and time in milliseconds since Thursday, 1.1.1970 00:00:00.000, managed in a 64 Bit data type

The default IDateTimeProvider implementation (DateTimeProvider) is in use

InOut:

Scope

Name

Type

Comment

Return

GetLocalDateTime

ULINT

The current local date and time in milliseconds since 1.1.1970 00:00:00.000

Inout Const

tzTimeZone

TimeZone

Time zone as base for caclulating local time

Output

eErrorID

ERROR