cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to define timezone with date field while impex importing?

0 Kudos
1,437

something like : startTime[dateformat=dd.MM.yyyy HH:mm:ss][timezone='Asia/Riyad']

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Kudos

You can try something like:

 #% impex.setLocale(new Locale( "ar" , "" ) );
 INSERT_UPDATE your-itemtype; startTime[dateformat='dd.MM.yyyy''T''HH:mm:ss']
 ;"23.02.2019T13:28:00"

Answers (2)

Answers (2)

Eddy_
Explorer
0 Kudos

Hi,

you can add a "Z" into your dateformat to bypass the offset of your desired timezone like:

startTime[dateformat='dd.MM.yyyy''T''HH:mm:ssZ']

and then provide the value like:

;"23.02.2019T13:28:00+0300"
Former Member
0 Kudos

I just try it but it doesnt work for me

Regards!