Unable to format 29/09/2021 using format string yyyy-MM-dd HH:mm:ss for field u_warranty_start_date

Ankita34
Giga Contributor

we are trying to import data using excel sheet but we are reieving below error in contract table.

Unable to format 29/09/2021 using format string yyyy-MM-dd HH:mm:ss for field u_warranty_start_date.

 

 

find_real_file.png

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

ensure this

1) all the dates in the excel column are having same format

2) did you specify the format in the field mapping

If the incoming date format is DD/mm/yyyy then give that in field mapping

Example:

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankita 

Hope you are doing good.

Did my reply answer your question?

If my response helped you please mark it correct to close the question so that it benefits future readers as well.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

This does not work, as a OOTB client script reverts your custom date format back to the target field data type.

It's works! Thanks!