Scheduled Report - Email Subject Line with Local Date

jmoore
Mega Expert

I have an existing scheduled report with a date in the email subject line. It is showing UTC date:

javascript:"Changes Approved On " + gs.now()

find_real_file.png

How would I change the code to show the local time? I can show local date/time using the following, but I do not want to include the date.

javascript:"Changes Approved On " + gs.nowDateTime();

 

Thanks!
Jessica

 

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

Try gs.nowDateTime().split(' ')[1]


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

10 REPLIES 10

Mahesh79
Tera Contributor

Hi Team,

I need the previous day date in the email subject of scheduled report . can you please help on this.

 

Thanks,

Mahesh