WDateTime: local time
Provide method of WDateTime, returning localized time, like unix command
$ date Thu Jun 30 18:29:39 MSD 2011
Updated by Koen Deforche over 11 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Do you mean the local time on the browser ?
Unfortunately, there is no reliable way to know in what timezone the user is in, in order to display (other) dates in the correct timezone.
Updated by Boris Nagaev over 11 years ago
Timezone info can be pased as an argument to method of WDateTime (each user could set timezone during registration and then this timezone would be used).