How can I convert MySQL datetime format without considering time
my $last_update = ('2025-06-30 14:40:26'); #convert to days without co +nsidering time if ($last_update < 20) { # if last update was done less than 20 days a +go print "20 days has not passed for you to update again" }
In reply to MySQL datetime by joyfedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |