Date to Timestamp

Hi Guys,
thanks to help me, I have ready much post.
I have a problem to convert date from DATE TIME INPUTS in TimeStamp (10 Digits) in TEXT.value COMPONENT.
I have check to use this link but don't work. Unix Timestamp Converter (Convert Epoch Time to Date) | Retool
Thanks in advance

Hi @LorisM, welcome to the community :hugs:

Try using this in your text component

{{ moment(dateTime1.value).unix() }}

Change dateTime1 to your component's id.

Does that work for you?

Very Very Thanks Bro, now my query works perfect!

1 Like