Getting the weekday name
Peter Haworth
pete at mollysrevenge.com
Sun Nov 14 19:47:37 EST 2010
Thanks. I forgot that I have been using the SQLite strftime function
to do all my date formatting/calculations so I think I'll just use that.
Pete Haworth
On Nov 14, 2010, at 12:35 PM, J. Landman Gay wrote:
> On 11/13/10 4:55 PM, Peter Haworth wrote:
>> The dates are coming from an SQL database, so they are in yyyy-mm-dd
>> format - will that work or do I need to convert them to some other
>> dat?
>> I already have a function that converts the SQL dates to the external
>> format mm/dd/yy if that would work better.
>
> You need to use your conversion function to change the dates to mm/
> dd/yy format. Then use the convert command to convert that to the
> long date, and lift out the first item which will be the weekday name.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list