What command would I create so that any user can look up their current time, date, timezone, etc? I’ve tried changing the output by changing the moment.js formatting:
!addcom !time $(touser), your current time and date is $(time $(query) “h:mm:ss A on MMMM Do YYYY”). Your timezone is $(time $(query) “[GMT]Z”).
It outputs in the format right, but I had people in different timezones test it out. For some reason, it always outputs EST time. Is there a way I can change this command so any user can get the time according to their timezone?
I know one can specify a timezone from the list of established ones on the time variable page so that it’ll always output the time from that timezone, but is there a way for a user to get the time from their own timezone?