A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculate 30 minutes earlier



 
 
Thread Tools Display Modes
  #1  
Old April 27th, 2010, 08:31 PM posted to microsoft.public.access.reports
Tim
external usenet poster
 
Posts: 780
Default Calculate 30 minutes earlier

Can you show me how to calculate a short time, i.e., 13:35, so that the
result is 30 minute earlier; so it should show 13:05? Another example is:
13:05, the field on the report will show 12:35. Thanks!
  #2  
Old April 27th, 2010, 09:41 PM posted to microsoft.public.access.reports
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Calculate 30 minutes earlier

Adjusted Time: DateAdd("n", -30, [YourDateField])

--
Build a little, test a little.


"Tim" wrote:

Can you show me how to calculate a short time, i.e., 13:35, so that the
result is 30 minute earlier; so it should show 13:05? Another example is:
13:05, the field on the report will show 12:35. Thanks!

  #3  
Old April 30th, 2010, 07:33 AM posted to microsoft.public.access.reports
Tim
external usenet poster
 
Posts: 780
Default Calculate 30 minutes earlier

Perfect!

Thank you!

"KARL DEWEY" wrote:

Adjusted Time: DateAdd("n", -30, [YourDateField])

--
Build a little, test a little.


"Tim" wrote:

Can you show me how to calculate a short time, i.e., 13:35, so that the
result is 30 minute earlier; so it should show 13:05? Another example is:
13:05, the field on the report will show 12:35. Thanks!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.