Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Liberty Unleashed
Liberty Unleashed
»
Bug Reports
»
Time
Home
Help
Search
Calendar
Media
Login
Register
« previous
next »
Print
Pages: [
1
]
Author
Topic: Time (Read 3791 times)
ARSEnic.
Newbie
Posts: 47
Karma: +17/-15
Hell o!
Time
«
on:
August 28, 2016, 06: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?
Logged
JamesConway
Newbie
Posts: 39
Karma: +9/-3
Re: Time
«
Reply #1 on:
August 28, 2016, 10:47:27 am »
Is january is 0?
Logged
Ankris
Full Member
Posts: 110
Karma: +29/-44
Re: Time
«
Reply #2 on:
August 28, 2016, 12:22:43 pm »
Quote from: JamesConway on August 28, 2016, 10:47:27 am
Is january is 0?
This^.
date().month+1.
Logged
ARSEnic.
Newbie
Posts: 47
Karma: +17/-15
Hell o!
Re: Time
«
Reply #3 on:
August 30, 2016, 03:51:35 pm »
Apparently I worked it out myself, i totally forgot that in computer coding, 0=1. Stupid me.
Logged
SugarD
Asshat Gaming Founder
Tester
Sr. Member
Posts: 820
Karma: +37/-75
STOP IN THE NAME OF THE COLESLAW!
Re: Time
«
Reply #4 on:
September 16, 2016, 06:08:10 pm »
Glad to see it is fixed!
As the issue is resolved, the topic will be locked.
Logged
Print
Pages: [
1
]
« previous
next »
Liberty Unleashed
»
Liberty Unleashed
»
Bug Reports
»
Time
Loading...