PC Review


Reply
Thread Tools Rate Thread

displaying the Day from a date

 
 
Simon
Guest
Posts: n/a
 
      2nd Apr 2007
I have a field on my form that displays a date like 2nd April 2007 is
there a way to display the day as well

eg
Monday 2nd April 2007


Thanks very much


SImon

 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      2nd Apr 2007
Set the Format property of the text box to:
Long Date

That should show the day and date (depending on how you have Long Date
defined in the Windows Control Panel, under Regional Settings.)

You can also show the day in another text box with the Format property set
to:
dddd

--
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.

"Simon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a field on my form that displays a date like 2nd April 2007 is
> there a way to display the day as well
>
> eg
> Monday 2nd April 2007
>
>
> Thanks very much
>
>
> SImon
>


 
Reply With Quote
 
Douglas J. Steele
Guest
Posts: n/a
 
      2nd Apr 2007
How are you getting 2nd April 2007? AFAIK, Access doesn't have any built-in
way to display the ordinal portion of the date (the "nd" in this case). If
you're using a function to provide that for you, modify the function to pick
up the day name using Format(YourDateValue, "dddd"). Format(YourDateValue,
"ddd") will return Mon, Tue, Wed, ...

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Simon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a field on my form that displays a date like 2nd April 2007 is
> there a way to display the day as well
>
> eg
> Monday 2nd April 2007
>
>
> Thanks very much
>
>
> SImon
>



 
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
displaying error message if end date is prior to begin date stef Microsoft Excel Discussion 5 27th Sep 2007 11:31 AM
Displaying available instructor using start date and end date =?Utf-8?B?RmVtYWxlIFN0dWRlbnQ=?= Microsoft Access Queries 1 10th Apr 2006 04:02 PM
Testing for Date Value then Displaying the Date or Text Deborah Najm Microsoft Access Form Coding 3 6th Dec 2005 01:26 AM
Displaying Day on the Date Gunjani Windows XP New Users 7 31st Mar 2004 07:14 PM
Displaying Day on the Date Gunjani Windows XP Help 6 24th Mar 2004 01:31 PM


Features
 

Advertising
 

Newsgroups
 


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