cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

set seconds and milliseconds is zero.

Hrishabh.Sharma
12-Amethyst

set seconds and milliseconds is zero.

var lastMinDate = new Date();

lastMinDate.setSeconds(0);

lastMinDate.setMilliseconds(0);

var result= lastMinDate;

1 REPLY 1

Hi @Hrishabh.Sharma,

 

Thank you for your question! 

 

I’d like to recommend to bring more details and context to your initial inquiry. 

It also helps to have screenshot(s) to better understand what you are trying to do in your process. 

Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

This will increase your chances to receive meaningful help from other Community members. 

 

Furthermore, please consult this Community Search guideline as well, which boosts up your chances of finding a resolution to your topic(s) much faster, as well as making use of our Knowledge Base

 

Thank you for your participation and please let me know if you need further assistance! 

 

Best regards,

Catalina
PTC Community Moderator
Announcements


Top Tags