Skip to main content
13-Aquamarine
August 14, 2024
Question

set seconds and milliseconds is zero.

  • August 14, 2024
  • 1 reply
  • 514 views

var lastMinDate = new Date();

lastMinDate.setSeconds(0);

lastMinDate.setMilliseconds(0);

var result= lastMinDate;

1 reply

Catalina
Community Moderator
August 14, 2024

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