wodSFTP ActiveX Control - Timezone Property
      
 

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:

Part Description
object An expression evaluating to an object of type wodSFTP.
value A TimezonesEnum enumeration, as described in settings.

Settings

The settings for value are:

Constant Value Description
 ZoneLocal 0 Time/Date is represented in the 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) that defines whether wodSFTP 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 ListAttributes, GetAttributes and SetAttributes methods. It does not affect the ListDir method 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).