[Resolved] Finding the day from the date

Hi, I’m sure others have had this problem but I can’t find anything on the forums (fora?). I am developing a non game app that involves making bookings. Amazingly, there does not seem to be any sort of calendar control. However I could get by by using a pickwheel. What I need to know is how I can derive the day from the date (i.e. 13th November 2012 is a Tuesday).

As an aside I find it outrageous that there is no native text input facility on the windows simulator. Does Corona think that developers only exist on Macs? [import]uid: 83824 topic_id: 32923 reply_id: 332923[/import]

print(os.date(“Today is %A”))

Do a google search for lua day of week and you’ll find loads of info and sample scripts. [import]uid: 100222 topic_id: 32923 reply_id: 130806[/import]

1 Like

brilliant - thanks for that Jeff. I never thought of looking at lua documentation - only Corona. I must have lent my brain cell to someone without realising!

Thanks again [import]uid: 83824 topic_id: 32923 reply_id: 130814[/import]

print(os.date(“Today is %A”))

Do a google search for lua day of week and you’ll find loads of info and sample scripts. [import]uid: 100222 topic_id: 32923 reply_id: 130806[/import]

brilliant - thanks for that Jeff. I never thought of looking at lua documentation - only Corona. I must have lent my brain cell to someone without realising!

Thanks again [import]uid: 83824 topic_id: 32923 reply_id: 130814[/import]