Skip to main content
Nintex Community Menu Bar
Solved

Unable to convert date time string to a Date time variable

  • February 15, 2019
  • 1 reply
  • 241 views
  • Translate

Lucky
Forum|alt.badge.img+3

I'm importing an RSS feed into a list using Nintex workflow. The date format in feed item is "Fri, 16 Dec 2018 05:50:06 EST". i want to convert this date into a date  time field and insert into the column.

 

I used Convert value action for this. the configuration is as in below screenshot.

97i643264CF751CAC00.png

 

I was getting error "String was not recognized as a valid DateTime.". I tried different combinations, but its giving error. Could some one help me with the format I should use for acheiving this.

 

Best answer by jesse_mchargue

Hello - 

 

A few things to consider, be sure that the day of the week ("ddd") is accurate with the acutal date you are providing. The example you have, 16 May 2015 is actually Saturday, not Friday. Just a heads up, that caused some failures as well :)

 

Alas, here is what you need:

 

ddd, dd MMMM yyyy hh:mm:ss

You may need to adjust your time after you save the new date depending on your tenant. I believe that it defaults the time conversion to UTC+0 so for me, I see Fri, 15 May 2015 05:50:06 as 5/14/2015 10:50:06 PM in my tenant.

 

Hope this helps!

View original
Did this topic help you find an answer to your question?

jesse_mchargue
Nintex Employee
Forum|alt.badge.img+12

Hello - 

 

A few things to consider, be sure that the day of the week ("ddd") is accurate with the acutal date you are providing. The example you have, 16 May 2015 is actually Saturday, not Friday. Just a heads up, that caused some failures as well :)

 

Alas, here is what you need:

 

ddd, dd MMMM yyyy hh:mm:ss

You may need to adjust your time after you save the new date depending on your tenant. I believe that it defaults the time conversion to UTC+0 so for me, I see Fri, 15 May 2015 05:50:06 as 5/14/2015 10:50:06 PM in my tenant.

 

Hope this helps!

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings