Trying to create condition with dates. |
So I'm trying to figure out:
how do I create a condition for a partial to show until a certain date arrives? i.e. if date < 12-21-2020 Can someone help me with figuring out this condition? Let me know what other information I should provide. Thanks,
Something like below, not tested.
PHP Code: $today = date("m-d-Y"); SEE: php.net - date What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |