Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm important an RSS feed with the date time field formatted as such: Wed, 8 Jul 2015 15:18:25 EST
Shouldn't the following date format match this? ddd, d MMM yyy hh:mm:ss EST
I keep getting an error when important saying that the field does not contain a valid datetime value.
Thanks!
Amir
Only 3 y's or is that a typo?
G
Good catch, typo. Same result when corrected though...
RFC1123 pattern date.
ddd, dd MMM yyyy HH:mm:ss 'GMT'
For some reason, this one takes capital H
Regards
http://www.csharp-examples.net/string-format-datetime/
Still the same error. I'm wondering if it is something with CMSImport and converting datetime.
Found this
http://www.richardsoeteman.net/CategoryView,category,CMSImport.aspx
It's old but maybe can help, entry about one-third of the way down the page on correcting date time errors in CMS Import.
So close, here's the correct format, the leading 0 in front of the numerical date is what was throwing everything off.
ddd, d MMM yyyy HH:mm:ss EST
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
RSS Datetime formatting
Hi,
I'm important an RSS feed with the date time field formatted as such: Wed, 8 Jul 2015 15:18:25 EST
Shouldn't the following date format match this? ddd, d MMM yyy hh:mm:ss EST
I keep getting an error when important saying that the field does not contain a valid datetime value.
Thanks!
Amir
Hi,
Only 3 y's or is that a typo?
G
Good catch, typo. Same result when corrected though...
RFC1123 pattern date.
ddd, dd MMM yyyy HH:mm:ss 'GMT'
For some reason, this one takes capital H
Regards
G
http://www.csharp-examples.net/string-format-datetime/
Still the same error. I'm wondering if it is something with CMSImport and converting datetime.
Found this
http://www.richardsoeteman.net/CategoryView,category,CMSImport.aspx
It's old but maybe can help, entry about one-third of the way down the page on correcting date time errors in CMS Import.
G
So close, here's the correct format, the leading 0 in front of the numerical date is what was throwing everything off.
ddd, d MMM yyyy HH:mm:ss EST
is working on a reply...