Getting the weekday name

J. Landman Gay jacque at hyperactivesw.com
Sun Nov 14 15:35:35 EST 2010


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



More information about the use-livecode mailing list