Skip to end of banner
Go to start of banner

toTimeZone

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Description

Converts a date to the specified time zone.

Parameters

Return Type

Date

Example

desc = "";
date d = toDate(2012, 01, 20, 0, 0, 0, 0, "GMT-8");
string format = "dd-MMM-yyyy HH:mm:ss Z";
desc += formatDate(d, format) + " converted to " + formatDate(toTimeZone(d, "GMT+2"), format);

Outputs to description: 20-Jan-2012 00:00:00 -0800 converted to 20-Jan-2012 10:00:00 +0200

See also

Filter by label

There are no items with the selected labels at this time.

We've encountered an issue exporting this macro. Please try exporting this page again later.
  • No labels