Liberty Unleashed

Liberty Unleashed => Bug Reports => Topic started by: ARSEnic. on August 28, 2016, 05:16:48 am

Title: Time
Post by: ARSEnic. on August 28, 2016, 05:16:48 am
I'm not sure if its just my computer or me, but when i use date().month, it gives me a '7' when its august, i changed the date on the PC to September and it returned me an '8'. Does anyone here have the same problem or is it just me?
Title: Re: Time
Post by: JamesConway on August 28, 2016, 09:47:27 am
Is january is 0?
Title: Re: Time
Post by: Ankris on August 28, 2016, 11:22:43 am
Is january is 0?

This^.

date().month+1.
Title: Re: Time
Post by: ARSEnic. on August 30, 2016, 02:51:35 pm
Apparently I worked it out myself, i totally forgot that in computer coding, 0=1. Stupid me. :P
Title: Re: Time
Post by: SugarD on September 16, 2016, 05:08:10 pm
Glad to see it is fixed! :D

As the issue is resolved, the topic will be locked.