CodeIgniter PHP
Write a 20131010 date
And then in getting the system now time now if the time is 20131113
How to use CodeIgniter to get the current time of the system?
If 20131010 date and 20131113 compare
if () {
Alert (present date in 10 days)
}else if () {
Alert (the date is now over 10);
}
How to implement with PHP code?
To help the prawn.
Reply to discussion (solution)
Write a 20131010 date
And then in getting the system now time now if the time is 20131113
How to use CodeIgniter to get the current time of the system?
If 20131010 date and 20131113 compare
if () {
Alert (present date in 10 days)
}else if () {
Alert (the date is now over 10);
}
How to implement with PHP code?
To help the prawn.
---------------------------------------------
Yes, the time format is 2013-11-11 23:59:59 comparison
Write a 20131010 date
And then in getting the system now time now if the time is 20131113
How to use CodeIgniter to get the current time of the system?
If 20131010 date and 20131113 compare
if () {
Alert (present date in 10 days)
}else if () {
Alert (the date is now over 10);
}
How to implement with PHP code?
To help the prawn.
---------------------------------------------
Yes, the time format is 2013-11-11 23:59:59 comparison
-----------------------------------------------------------
You don't have to go to the current system time to compare two times
The CI frame takes the same time as you normally write code.
]
$old) {echo "Time 10 days Ago";} Else{echo "time within 10 days";}? >