Internet Date and Time from String

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Internet Date and Time from String

jtuchel
I may be overlooking something obvious, but I cannot find any method that is able to create either a Timestamp or a DateAndTime from a String like this:

Wed, 30 May 2018 09:15:20 +0000


Any ideas?


--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Internet Date and Time from String

Seth Berman
Hi Joachim,

DateAndTime sstParseInternetDate: 'Wed, 30 May 2018 09:15:20 +0000'

I think is what you want.

-- Seth

On Friday, June 22, 2018 at 9:58:34 AM UTC-4, Joachim Tuchel wrote:
I may be overlooking something obvious, but I cannot find any method that is able to create either a Timestamp or a DateAndTime from a String like this:

Wed, 30 May 2018 09:15:20 +0000


Any ideas?


--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Internet Date and Time from String

jtuchel
perfect!!! Thank you very much!


Joachim

Am Freitag, 22. Juni 2018 16:10:42 UTC+2 schrieb Seth Berman:
Hi Joachim,

DateAndTime sstParseInternetDate: 'Wed, 30 May 2018 09:15:20 +0000'

I think is what you want.

-- Seth

On Friday, June 22, 2018 at 9:58:34 AM UTC-4, Joachim Tuchel wrote:
I may be overlooking something obvious, but I cannot find any method that is able to create either a Timestamp or a DateAndTime from a String like this:

Wed, 30 May 2018 09:15:20 +0000


Any ideas?


--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.