Current date

uma17
Tera Guru

Hi,

I am having a scheduled job which runs every hour to check if any of the change task have start date & time <= current date & time.

I have used

    var today = new GlideDateTime();

    var curDate = today.getDate().getNumericValue();

But every time I run the job the curDate = 1433721600000 it is not changing.

Thanks

Uma