Rex's plugins for Construct2
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About

rex_momenttimezonejs

Plugin, ACE table, Discussion thread
Dependence: rex_momentjs plugin

Introduction
Parse and display dates in any timezone.

Usage
Sample capx
Call "Action:Set timezone" to change the time zone of moment object. Then uses "Expression:Format" in rex_momentjs plugin to show the date.
Here are some expressions for time zone:
  • z or zz : EST CST ... MST PST
  • Z : -07:00 -06:00 ... +06:00 +07:00
  • ZZ : -0700 -0600 ... +0600 +0700
User's time zone
Get guessing user zone by "Expression:UserZone".

Create a free web site with Weebly
  • Home
  • Map
  • Tutorial/Templates
  • News
  • About