New to Javabeans

I'm trying to figure out how can I create a function which checks whether the user is accessing my jsp page in the morning/afternoon or evening. And at the same time on my jsp page a greeting will be displayed for example: Good Morning, user!Thanks in advance!
[275 byte] By [leavogta] at [2007-10-3 3:21:04]
# 1
use the javascript Date() functions
elubina at 2007-7-14 21:13:18 > top of Java-index,Java Essentials,New To Java...
# 2
Do you want to get the server time or the user time which might be different.
guerrinma at 2007-7-14 21:13:18 > top of Java-index,Java Essentials,New To Java...
# 3
use the javascript Date() functions @ Elubin: Using this function how can I insert a JavaBean variable to the javascript function?Do you want to get the server time or the user time which might be different. @ guerrinm: I'd like to get the user time.
leavogta at 2007-7-14 21:13:18 > top of Java-index,Java Essentials,New To Java...