getCurrentDateStamp returns Date ahead of server date
The @getCurrentDateStamp() function returns dates in GMT. The dates returned are ahead of the server date. The requirement is the server date.
Steps to Reproduce
Configure the sever with a time zone (for example, EST) other than GMT. Use the @getCurrentDateStamp() function to retrieve the date.
The @getCurrentDateStamp() function was used, such that the Current Date was returned from 00:00 AM till 11:59 PM in the server’s time zone. However, the servers were in EST. Hence, after 8 PM EST, the next day’s date stamp was returned.
Perform the following local-change to retrieve the current date in EST: Use @CurrentDate("yyyyMMdd", "EST") Rule Utility Function (RUF).