Hi, I would like to subtract 3 hours from my current time ( I want to get GMT -3). In order to achieve this, what is the best practice? In addition, I just want to get the time and not date and time.


Solution

Hi Matheus,

To achieve what you want, you can use the built in functions of the platform:

  • addTime
  • DateTimeToTime

An example of its usage would be:

(The above expression will return the current (server) Time, subtracted to 3h.)

Hope this helps you,

Cheers,

RG

Solution

Ruben G wrote:

Hi Matheus,

To achieve what you want, you can use the built in functions of the platform:

  • addTime
  • DateTimeToTime

An example of its usage would be:

(The above expression will return the current (server) Time, subtracted to 3h.)

Hope this helps you,

Cheers,

RG

I think what Ruben G said is the solution for it. Please check and let us know. 

Thank you


Thank you, it solved my problem.