Home › Forums › Guriddo jqGrid JS › How to specify timezone for date fields?
Tagged: Date Formatter
This is possible and depend on your need.
First of all your setting srcformat: ‘U/1000’ is not correct and Gurddo will not recognize this format. You should perform calculations for the Unix timestamp before to pass the data to jqGrid.
1. First option is to show the time offset without to inform user about this. This is done with the settings userLocalTime set to true in format options.
2. You can use either the option O or T newformat. In this case userLocalTime should be set to false
The T option give more information.
Everthing is explained into the documentation
Guriddo Support Team
Thanks for your reply with good explanation.
I tried with all 3 options and below are my comments/observations. Also, srcformat: ‘U’ and srcformat:‘U/1000’ both are working for me.
Thanks & Regards,
In my above comments(2nd), is there any way to suppress “0” from datetime value?
Unfortunately no – the formatting is standard and we can not change it. Eventuaally we can add the P option.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS