Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

notification field opened

yardenKrispel
Tera Contributor

Hi!

How do I remove the end from the opend field PDT? I marked it in the next picture in red , I need the opend field in the notification and it just makes the time and date correct for me, but in the end it says PDT and I have to download it

yardenKrispel_0-1713256925048.png

 

12 REPLIES 12

Dhananjay Pawar
Kilo Sage

Hi,

You can store the value in one variable and then you can split the value from PDT. Check below example.

 

var date='2018-09-01 04:35:21 PDT';
var res= date.split(' PDT');
gs.print(res[0]);
 
Thanks,
Dhananjay.

NO WORK

I have tested this in background script and it is working fine.

Could you please share your script here.

yardenKrispel_0-1713263270879.png