on 06-12-2011 12:35 PM
Dear All.
My requirement is to show the Group information base on the Datetime column in DB.
i want to show A,B,C or D base on the Datetime column.
we have lots of function to handle dates but not for the time, kindly please let me know how to handle this.
06:00 u2013 14:00 A
14:00 u2013 22:00 B
22:00 u2013 06:00 C
Kind regards,
Create a variable Timestamp as:
=ToNumber(FormatDate([DateTime Object];"hhmm"))
Then create the Group variable as:
=If([Timestamp] between (600;1400);"A";If([Timestamp] between (1400;2200);"B";"C"))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.