Can anyone extrapolate on how to implement a basic \"good evening\" or \"good morning\" based on the user\'s time setting?
Perhaps PHP will fetch the server time, but I
= 5 && $Hour <= 11 ) { echo "Good Morning"; } else if ( $Hour >= 12 && $Hour <= 18 ) { echo "Good Afternoon"; } else if ( $Hour >= 19 || $Hour <= 4 ) { echo "Good Evening"; } ?>
For more information about date see function.date. I Hope this will help.