Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Making darkbaisc sync with the days that or on the computer

Author
Message
Scottishdemon
13
Years of Service
User Offline
Joined: 6th Jun 2013
Location: Scotland
Posted: 7th Jun 2013 12:25
Hi there i am wanting to know if any of you know of a way to sync and array with the computer to make it readout the day that the computer says

such as Dim weekDay$ (7)
weekDay$(1)= "Monday"
weekDay$(2)= "Tuesday"
weekDay$(3)= "Wednesday"
weekDay$(4)= "Thursday"
weekDay$(5)= "Friday"
weekDay$(6)= "Saturday"
weekDay$(7)= "Sunday"


Print weekDay$(Rnd(7))..... I know that this code makes it guess random from 1 to 7
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 7th Jun 2013 19:59
Get Date$()
The string contains the date as MM/DD/YY

Get Time$()
The time as HH:MM:SS

Login to post a reply

Server time is: 2026-07-07 05:40:44
Your offset time is: 2026-07-07 05:40:44