PC Review


Reply
Thread Tools Rate Thread

Date handling

 
 
=?Utf-8?B?UnVzc2VsbCBMdWNhcw==?=
Guest
Posts: n/a
 
      16th Apr 2004
Hello everyone

I need to write some code to return the date of the last working day (Fri) of the current week. This is so I can run a query to select very specific data from my base. Is there a built in function or can anyone tell me a way of doing this. Thanks in advance.
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      16th Apr 2004
The Friday that ends this week:
=Date() - Weekday(Date(), 7) + 7

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Russell Lucas" <(E-Mail Removed)> wrote in message
news19B833D-726A-4CB3-80B4-(E-Mail Removed)...
>
> I need to write some code to return the date of the last working day (Fri)

of the current week. This is so I can run a query to select very specific
data from my base. Is there a built in function or can anyone tell me a way
of doing this. Thanks in advance.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Handling date formats... =?Utf-8?B?TW9yZ3M=?= Microsoft Excel Misc 4 30th May 2007 09:51 PM
Re: Vista & Date Handling Rick Rogers Windows Vista General Discussion 2 2nd Jan 2007 02:37 PM
error handling date =?Utf-8?B?QXJub2xkIEtsYXBoZWNr?= Microsoft Excel Programming 1 29th Aug 2006 11:38 PM
vba date handling Mary Microsoft Access Form Coding 7 22nd Dec 2004 05:45 PM
Handling date and time Larry Drobnitch Microsoft Excel Worksheet Functions 2 13th Oct 2003 08:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:22 AM.