[DateUtils] Input format

Forge Component
(4)
Published on 8 Jul by Pedro Domingues
4 votes
Published on 8 Jul by Pedro Domingues

Please, what is the correct input format for the BeginData and EndDate parameters?

I've tried several formats, but it always falls under the exception of error. ["String was not recognized as a valid DateTime."]

You could put an example or fill out the documentation to help.

Tks

Hi Luciano,

Did you try to use the FormatDateTime action?

FormatDateTime(CurrDateTime(),"yyyy-MM-dd HH:mm:ss.fff")