Why is the sample displaying good afternoon when it's nine in the morning?
Server side code runs on the server, and your web server may be in a different time zone. The easiest way to solve this problem is to the use client side code found here.
Please note: This form is only for submitting questions about the sample for us to consider including in the FAQ. If we feel the question merits inclusion, we will include it along with a reply. We will not respond to your email individually.