Question5Replies5681Views×Close popoverGuilherme Valino (GuilhermeV7620) Capgemini Lead System Architect Capgemini BR View ProfileSend Message GuilhermeV7620 Member since 2016 20 posts Capgemini Posted: January 5, 2017Last activity: January 31, 2017Posted: 5 Jan 2017 20:57 ESTLast activity: 31 Jan 2017 11:51 EST 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, learn more×Close popover 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: 4 years agoPosted: 6 Jan 2017 1:48 EST×Close popoverAkshay Kumar Sinha (AkshaySinha) PEGA Senior Technical Solutions Engineer Pegasystems Inc. IN View ProfileSend MessageAkshaySinha PEGA replied to GuilhermeV7620Hello, Please have a look on the below article : https://pdn.pega.com/support-articles/unable-convert-datetime-yyyy-mm-dd-format Please let me know if it helps. Posted: 4 years agoPosted: 6 Jan 2017 7:51 EST×Close popoverSantanu Bhattacherjee (Santanu) PEGA Manager CRM - Field Service Pegasystems Inc. IN View ProfileSend MessageSantanu 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: 4 years agoPosted: 31 Jan 2017 7:27 EST×Close popoverGuilherme Valino (GuilhermeV7620) Capgemini Lead System Architect Capgemini BR View ProfileSend MessageGuilhermeV7620 Capgemini replied to GuilhermeV7620Thank´s!!!! I followed the instructions and resolved the problem! Posted: 4 years agoPosted: 31 Jan 2017 11:24 EST×Close popoverMarissa Rogers (MarissaRogers) MOD Senior Community Moderator Pegasystems Inc. US View ProfileSend MessageMarissaRogers 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: 4 years agoPosted: 31 Jan 2017 11:51 EST×Close popoverGuilherme Valino (GuilhermeV7620) Capgemini Lead System Architect Capgemini BR View ProfileSend MessageGuilhermeV7620 Capgemini replied to GuilhermeV7620AkshaySinha, Thank´s! I followed the instructions and resolved the problem!