Date/time variable on catalog item based on time zone

SMuir
Mega Guru

I have created a Catalog item named Book a meeting.

We have two dates/time fields on the form.

  1. Meeting start date Field name = meeting_date_time_start
  2. Meeting end date Field name = meeting_date_time_end

When the customer select the field (s) we want them   to be able to select a time zone based on the location the meeting will be held when submitting the request. please note I a new to coding and only recently passed my SN Administration exam. So help is greatly appreciated.

Has anyone done this or know how I can get SN to do this?

Many thanks for your help in advance.

Kind regards

Sarah

7 REPLIES 7

Thanks for this, can I ask how best to do this? I tried a catalog client script and it says I can't use gs.print. The Wiki says a business rule or a script include and I am getting a bit lost here.



If you can explain in steps I would appreciate it. As mentioned I am not the best at coding and only just passed my Administration exam a few month back. Coding is planned for courses this year and I am learning as I go.



Kind Regards


Sarah


instead of gs.print use alert in client side


Regards
Harish

Apologies but I am not sure what you mean.



Do I create a Catalog Client script?



Use code


var gdt = new GlideDateTime();


gs.print(gdt.getLocalDate()); Replace with what exactly?



Many thanks in advance and sorry I am not understanding what it is you mean.