Thread
: Tech
Php date problem 'Y' displying 1969
View Single Post
01-13-2023, 04:57 AM
redwhiteandblue
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
No, you need to understand what mktime() does and what parameters it expects.
https://www.php.net/manual/en/function.mktime.php
You are giving it a value for the day where it expects a value for the year.
__________________
Interserver unmanaged AMD Ryzen servers from $73.00
redwhiteandblue
View Public Profile
Find More Posts by redwhiteandblue