Re: GMT Offset time format to timestamp

2019-08-27 Thread Nicolas Malin
I used this on customer site : date = UtilDateTime.stringToTimeStamp(dateStr, "-MM-dd'T'HH:mm:ss'Z'", timeZone, locale); Nicolas On 8/27/19 5:02 PM, Deepak Nigam wrote: Hello all, I have a date in the format -mm-ddThh:mm:ss.nnn+time zone (2019-07-28T00:00:00.000+05:30), I need to

Re: GMT Offset time format to timestamp

2019-08-27 Thread Jacques Le Roux
Hi Deepak, Have a look at UtilDateTime::stringToTimeStamp methods Jacques Le 27/08/2019 à 17:02, Deepak Nigam a écrit : Hello all, I have a date in the format -mm-ddThh:mm:ss.nnn+time zone (2019-07-28T00:00:00.000+05:30), I need to convert it to Timestamp object so that I can store in

GMT Offset time format to timestamp

2019-08-27 Thread Deepak Nigam
Hello all, I have a date in the format -mm-ddThh:mm:ss.nnn+time zone (2019-07-28T00:00:00.000+05:30), I need to convert it to Timestamp object so that I can store in one of the OFBiz entity. Is there any OOTB feature available for this? Thanks & Regards -- Deepak Nigam