Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formula to create start time as midnight

Status
Not open for further replies.

kwirky

MIS
Apr 22, 2010
85
AU
Hi,
I need a formula to create a start time of midnight on the day the report is run. This report will be automatically generated so I want the report to find that date and time (midnight) all by itself.
The reason is I have a field which is currentdatetime and I need to generate all sales from midnight to currentdatetime.
 
All okay. I have been able to find a solution. For your reference I used:
datetime(currentdate,time(0,0,0))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top