|
working with dates: msg#00067lang.smalltalk.squeak.beginners
Hello, I'd like to see how to control the formatting and storage of dates. I'm in the UK so would like to store my dates in yyyy-mm-dd format, but display them as dd-mm-yyyy; or as '12 December 2006' sometimes as well. I've looked at the Date class, but apart from the printFormat: method (which I can't see an explanation of the format) I can't see any easy way of ensuring that squeak converts my dd-mm-yyyy input into a nice ISO yyyy-mm-dd format. Could anyone suggest some classes/code to look at? Thanks very much, Kel. _______________________________________________ Beginners mailing list Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Adding instance variables during runtime, Mathieu |
|---|---|
| Next by Date: | Re: working with dates, Mathieu SUEN |
| Previous by Thread: | Adding instance variables during runtime, Warakorn Paphrawat |
| Next by Thread: | Re: working with dates, Mathieu SUEN |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |