Question
Tata Consultancy Services
MX
Last activity: 6 Nov 2017 9:44 EST
Change the time as per GMT timezone dynamically
I have a date property. To get the time in 24 hour format and GMT added after it I have used a custom Date Time format "dd-MM-YYYY kk:mm z". Since my operator time zone is CET I am getting the date time as 31-10-2017 13:06 GMT+01:00 which is as per CET time zone. Is there any way to get the Date as per GMT time like 31-10-2017 12:06 GMT dynamically? For different systems which have different time zone no matter IST or US time zone, Time should be shown as per GMT time zone only.
Thanks