system.kanoa.date.getClientOffsetMinsFromGateway
Description
This function returns the timezone offset between the client and the gateway for the date passed in.Syntax
getClientOffsetMinsFromGateway(clientTZ, tStamp)- clientTZ: str - Timezone of the client (browser)
- tStamp: datetime - Date for which the offset is to be calculated
Code Example
# Example Usage:
offsetMins = system.kanoa.date.getClientOffsetMinsFromGateway(clientTZ, tStamp)