Description
-
Determines if dates are shown in Local or UTC time zone
Property type
-
A TimezonesEnum
enumeration.
Syntax
-
object.Timezone [=
value]
The Timezone Property syntax has these parts:
| object |
An expression
evaluating to an object of type wodFtpDLX. |
| value |
A TimezonesEnum
enumeration, as described in settings. |
Settings
-
The settings for value are:
 |
ZoneLocal |
0 |
Time/Date is represented in local
time zone. |
 |
ZoneUTC |
1 |
Time/Date is represented in UTC. |
Remarks
-
The Timezone property is a client-side add-on (by default, the
SFTP protocol only works with UTC dates, and FTP protocols work
various ways) that defines whether wodFtpDLX will represent
dates in the Local time zone or in UTC/GMT. It is more convenient
that dates are represented in local time but it is possible that the
server (or local computer) will have its clock set incorrectly, thus
our calculation of the local->UTC->local conversion will be invalid.
This setting affects the
GetAttributes
and
SetAttributes methods. It does not affect the
ListDir method
directly, because ListDir does not interfere with the contents of the
directory - it just provides it as it is received from the server
(as string data). However, if you access
DirItems property
after calling ListDir and access
ModificationDate property for each item, it will be presented in
UTC/Local time, based on the value of this property.
|