Thread
: Tech
Php date problem 'Y' displying 1969
View Single Post
01-13-2023, 05:00 AM
redwhiteandblue
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
It would be far easier to work with timestamps for this.
Code:
echo date("M d Y", time() - (86400 * 8));
__________________
Interserver unmanaged AMD Ryzen servers from $73.00
redwhiteandblue
View Public Profile
Find More Posts by redwhiteandblue