if (date(‘H’) < 16) {
$check4pm = true;
}
For more information about the date function please see the PHP manual. please follow the time below formate:
H = 24-hour format of an hour (00 to 23)
if (date(‘H’) < 16) {
$check4pm = true;
}
For more information about the date function please see the PHP manual. please follow the time below formate:
H = 24-hour format of an hour (00 to 23)
Away Some Article is an experienced writer who has written a plethora of articles, based on technology. Her extensive knowledge about Technology is evident from the articles, written in this blog. you need submit a guest post?, then contact us
Example: <?php $myOriginalDate = "2010-03-21"; $myNewDate= date("d-m-Y", strtotime($myOriginalDate)); echo ""My new date is: ".$myNewDate; ?> For more information about the...
Example: <?php $myOriginalDate = "2022-01-01"; $myNewDate = date("d-m-Y", strtotime($myOriginalDate)); echo "My new date is: ".$myNewDate; ?> For more information about...
Syntax date('d-m-y h:i:s'); Example <?php echo "This is my Current date and time:"; $myCurrentDateTime = date("d-m-y h:i:s"); echo $myCurrentDateTime; ?>...
Submit A Guest post | Away Some Article & Blog
Follow us
Copyright © 2023 Away Some Article. All rights reserved.