There is a DateTime Library Function named: pxGetSpecifiedTimeOnDate
Description: Returns a datetime stamp for a specified time on a given day. Uses requestor's default time zone if not specified, and current date if time not specified. Input can be either date or datetime.
Usage: For instance, let's say the SLA time needs to be set to 11:59 pm on the next business day. You can call @pxGetSpecifiedTimeOnDate(@nextBusinessDay(@getCurrentTimeStamp(), pxRequestor.pyCalendar), 23, 59, 0, "")
Say you want an exam to always start at 9am EST/America/New_York on whatever day it is scheduled regardless Daylight Savings Times (timezones take that into consideration).
The description says you can use Date but that might cause the result to be off by 24 hours unless you know for certain that the Date in the targeted time zone would be the same as the Date for the source at the indicated hour of the day.
For example the date in Australia is one day greater than it is in Hawaii due to the International Date Line lying between those two locations.
Best to use DateTime since it is an absolute value.
we have requirement of user selecting the timezone, it would update the operatorid's pydefaulttimezone property and by using PRDate..format() we are able show time as per the timezone but we have a requirement in addition to timezone we need to show GMT/IST/PST etc. to the date time fileds.
How we can able to get the details like if we have America/New York it would be EST do we have any OOTB where we can get all these 3 digit time format to display
Our requirement is just for display, user can dynamically change his timezone lets take from EST/EDT to PST, then the case information with datetime fields like object create date times should change from EST/EDT to PST.
We have datetime property which changes as per the timezone we passed, we need to show what timezone it is like EST/IST etc.
We have timezone drop down available to the user where he would change at runtime we need to show the time as per the select timezone which is working for us but only problem is that we need to show 3 letter after the date time value displayed at every reference of datetime properties in the case.