WDateTime: local time
Provide method of WDateTime, returning localized time, like unix command
Thu Jun 30 18:29:39 MSD 2011
Updated by Koen Deforche over 12 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 12 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).