Switch to desktop version  
yesterday - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: BASIC Script (https://techforum.ewon.biz/forum-52.html)
+--- Thread: yesterday (/thread-1173.html)



yesterday - Lonny - 11-02-2020

Is there a way to pull up yesterdays's date in Basic IDE?


RE: yesterday - AngelaT - 11-02-2020

The way I've always done it is to pull up today's date as an integer (b% = getsys prg,"TIMESEC") and subtract 86400 (number of seconds in a day). There might be an easier way, but it works for me.