Expand my Community achievements bar.

SOLVED

I'm trying to update Date field by Custom API output but it's not working

Avatar

Level 3

I'm trying to update Date field by Custom API output but it's not working.

 

Date format is 22 Dec 2023 12:02

 

Getting Invalid Date format wile updating.

 

Attached screenshot for reference.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 9

I guess that you will need to parse your date string before:

 

parseDate(<dateValue>; "DD MMM YYYY HH:mm")

 

Regards

Lars

View solution in original post

4 Replies

Avatar

Level 9

Hi,

 

You have to provide the date in ISO 8601 format, so it should look like this:

YYYY-MM-DDTHH:mm:ss.sssZ

2023-12-22T12:02:00.000Z

 

Regards

Lars

Avatar

Level 3

Thanks for your reply Lars.

 

The Output you mentioned were provided by Custom API module.

 

I already attached the screenshot.

 

How to convert to date format?

Avatar

Correct answer by
Level 9

I guess that you will need to parse your date string before:

 

parseDate(<dateValue>; "DD MMM YYYY HH:mm")

 

Regards

Lars

Avatar

Level 3

Thanks for your help Lars.

 

It works!!

 

Wishing you a Happy New Year filled with joy, success, and new achievements, may this year bring you continued inspiration and success in both your professional and personal life. 
 
Happy New Year 2024!!