GreenWizard
Board Regular
- Joined
- Dec 8, 2013
- Messages
- 106
Is there a formula for determining if a Date & Time is TODAY? For example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]TIME[/TD]
[TD]TODAY[/TD]
[/TR]
[TR]
[TD]12/13/2018 4:02 AM[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]12/12/2018 8:31 PM[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]12/15/2018 1:02 PM[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]12/13/2018 5:17 PM[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
Please note the 'TODAY' column. I'm looking for a logic formula that can tell me if it's today or not (1 = YES, 0 = NO).
I've tried using this formula, but it doesn't work >>> =IF(A1=TODAY(),1,0)
Thank you!!!
p.s. The current day for this forum post is 12/13/2018
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]TIME[/TD]
[TD]TODAY[/TD]
[/TR]
[TR]
[TD]12/13/2018 4:02 AM[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]12/12/2018 8:31 PM[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]12/15/2018 1:02 PM[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]12/13/2018 5:17 PM[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
Please note the 'TODAY' column. I'm looking for a logic formula that can tell me if it's today or not (1 = YES, 0 = NO).
I've tried using this formula, but it doesn't work >>> =IF(A1=TODAY(),1,0)
Thank you!!!
p.s. The current day for this forum post is 12/13/2018