on 01-03-2018 3:46 PM
Hello Experts,
My requirement is we have to place the order based on the user current time zone not server time zone,the server is located in Germany.How can we implement this. Please suggest me.
Thanks a lot.....
Hi Sindhu - the OOTB suggestions listed here will work very well but consider customers who place orders whilst not in their resident/delivery timezone, who may still want cut-off times to apply to their delivery location.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sindhu,
You can use userService.getCurrentUser().CURRENTTIME
or JaloSession.getCurrentSession().getSessionContext().getTimeZone()
.
There's a bit more information in my answer on this other question: Show User's timezone instead of Server timezone.
Regards,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sindhu - you can make use of the Google Maps timezone api https://developers.google.com/maps/documentation/timezone/intro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.