Question5Replies5590Views GuilhermeV7620 Member since 2016 17 posts Capgemini Posted: 3 years agoLast activity: 3 years 7 months ago Closed Solved Invalid datetime format/Invalid datetime for yyyy-MM-dd'T'HH: mm: ssWe are building an integration where we have two fields that need to be given a value in the date format as follows: YYYY-MM-DDThh: mm: ss.We were able to find in the PDN a resolution where the following function was applied to the field:@ DateTime.FormatDateTime (@ DateTime.CurrentDateTime (), "yyyy-MM-dd'T'HH: mm: ss", "GMT + 02: 00", "")When we performed the DataPage test we received the following message:Invalid datetime format / Invalid datetime "2017-01-05T23: 04: 55"Does not PEGA accept the format we are trying to use? What do we need to do for the application to accept this formatting?For the integration we are building we only accept the date format yyyy-MM-dd'T'HH: mm: ssCoul you help me ???????? Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Accepted Solution Posted: 3 years agoAkshaySinha PEGA replied to GuilhermeV7620Hello, Please have a look on the below article : https://pdn.pega.com/support-articles/unable-convert-datetime-yyyy-mm-d… Please let me know if it helps. Posted: 3 years agoSantanu PEGA replied to GuilhermeV7620The output of the function @ DateTime.FormatDateTime is String type. May be that is the reason you are seeing this error. Posted: 3 years agoGuilhermeV7620 Capgemini replied to GuilhermeV7620Thank´s!!!! I followed the instructions and resolved the problem! Posted: 3 years agoMarissaRogers MOD replied to GuilhermeV7620Hi Guilherme! Do you mind marking the comment with Correct Answer that resolved your problem? Thanks in advance! Marissa | Community Moderator | Pegasystems Inc. Posted: 3 years agoGuilhermeV7620 Capgemini replied to GuilhermeV7620AkshaySinha, Thank´s! I followed the instructions and resolved the problem!