Microsoft
Software
Hardware
Network
Question : How do I get the Date() to begin at 07:00 instead of 00:00
I have two fields with date and time in them.
The date defaults to the Date() and time default to Now().
However, I want the date field Date() to begin at 07:00 instead of 00:00 so that the time between 00:00 and 06:59 has the previous date instead of today's actual date and
switches to the new date at 07:00. The time will always default to correct time or Now().
I was wondering if the best thing to do would be use the Now() function and subtract .2916667 (7/24) to get the date offset?
Answer : How do I get the Date() to begin at 07:00 instead of 00:00
Is your date field just for display purposes? If so you could just use one field containing date/time and calculate the modified display date for as you have suggested. The time suppressed by the display formatting options.
Random Solutions
outlook 2000 "TCP/IP connection was unexpectedly terminated by your mail server. If this problem persists, contact your LAN
Unequal multi-table update statement (Access)
Query is giving a non-boolean type specified error
How to read field names from an XSD file.
Vista Home: Use of NET.TCP terminates w3wp.exe and listener
Excel 2007 VBE
Can I run the free MS Office Word viewer from command line to print a document?
What is a 'Database consistency check'?
How can I enable a template item accoding to query result ?
Most pages won't finish loading in multiple browsers on both xp and vista