|
-
September 29th, 2016, 03:42 AM
#1
Java - how to check time fall in which section
Hi, I need to check on current time is falling to which timeframe as below, may I know how can create the checking in java??
if (yesterday 20:00 until today 02:00) then display xxx
else if (today 02:01 until today 14:00) then display yyy
else if (today 14:01 until today 20:00) then display zzz
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|