$timeZone
$timeZone
will change the timezone of any time function in the used command.
Usage
$timeZone[timezone]
Parameters
Field | Type | Description | Required |
---|---|---|---|
timezone | string | Timezone/Locale formatting. | false |
You can find all timezones here.
Example(s)
You can change the timezone using $timezone
like the following:
1client.command({2 name: "time",3 code: `4 $hour:$minute:$second5 $timeZone[America/New_York]6 ` // returns current time of New York7});