Date format giving the time as 00:00:00, no matter the current time

I’m trying to put the current date and time on a String, so I used the Date format function. The date is coming out right, but the time is always at 0. I filled the Date format function like this:

However, the value of the string on the logs is like this: “str2”,“STRING”,“19:02:14-00:00”.
Is there a workaround?

Hi,
I don’t know how you set the date in the string but you should use constant value.
The date that you see displayed in Date Format is only there to show you what the formating looks like

3 Likes

Thanks that solved my issue, the conversion from date to string was pretty simple after.

1 Like