Skip to main content
Question

Date Time Logic

  • 16 January 2023
  • 0 replies
  • 48 views

Hi ,

I have a date and time which i need to  increment (+1) and decrement (-1) to the MINUTES (MM) and store it in 2 different variables. can some one help with the logic please.

EX:YYYY-MM-DD HH:MM:SS 

      2022-12-30 14:59:00

Note: I want to increment only the minute (+1) and store the corresponding value in VariableA.

          I Want to decrement only the minutes(-1) and store the corresponding value in VariableB.

The time is in 24 Hrs format and if the day value increases so the date also has to change accordingly if required

Looking forward to hear you the responses. I am using v11.3.

 

Thanks.

0 replies

Be the first to reply!

Reply