Board Thread:General Coding Help/@comment-24473195-20141210235236/@comment-24473195-20141211110658

Cqm wrote: I'd just use UTC. As long as you use a standard time for all users they'll all be in sync. Alternatively use UNIX time: // UTC ( new Date ).toUTCString;

// UNIX ( new Date ).valueOf; But javascript is a clientside language. Won't that just return the client's time ?

For example if client A has 12:02

Client B : 12:04

Wikia server time 12:05

That code will simply return either client A or Client B time (i think), rather than wikia's time, which would be the same regardless of who which client calls it.