Mirage Source
Time/Date? - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Time/Date? (/showthread.php?tid=437)



Time/Date? - Obsidian - 30-11-2006

Alright i got bored so i was playing with the Time, and Date variables...

you can manipulate date by doing Date + 1 (would increase by one day... cool), i don't really understand Time however,

if i just do a debug.print or msgbox Time it shows the time, like i assumed it would, but if you do time + 1 then it shows a full date, and the time itself isn't what's manipulated... the date is... is there a way to just manipulate the hours/mins/seconds?

it's not for anything special, i just found that a tad odd...


- pingu - 30-11-2006

"Time" is actually a function. I believe "Date" is a variable. Correct me if I'm wrong...


- Obsidian - 30-11-2006

yeah that's right, date is a variable... i think it uses 6 or 8 bytes (but i have been wrong before...), i wasn't sure if time was a function or variable. but i still don't really understand how to manipulate it [correctly]...