PC Review


Reply
Thread Tools Rate Thread

Date() function on reports

 
 
=?Utf-8?B?U3RyaWtlIEVhZ2xl?=
Guest
Posts: n/a
 
      5th Sep 2006
I use the date() function on a report to display the date in the medium time
format of 05-Oct-05. However on the report, I would like it to be displayed
without the dashes like 05 Oct 05. Is this possible? Also would it be
possible to format it so it displays 05 October 05 or 05 October 2005?

thanks
Dan
 
Reply With Quote
 
 
 
 
CompGeek78
Guest
Posts: n/a
 
      5th Sep 2006
I don't think their are any formats that match that layout, but you can
make it yourself.

In the format property, use:

dd m yy OR dd mmmm yyyy

Strike Eagle wrote:
> I use the date() function on a report to display the date in the medium time
> format of 05-Oct-05. However on the report, I would like it to be displayed
> without the dashes like 05 Oct 05. Is this possible? Also would it be
> possible to format it so it displays 05 October 05 or 05 October 2005?
>
> thanks
> Dan


 
Reply With Quote
 
John Vinson
Guest
Posts: n/a
 
      5th Sep 2006
On Mon, 4 Sep 2006 22:35:01 -0700, Strike Eagle
<(E-Mail Removed)> wrote:

>I use the date() function on a report to display the date in the medium time
>format of 05-Oct-05. However on the report, I would like it to be displayed
>without the dashes like 05 Oct 05. Is this possible? Also would it be
>possible to format it so it displays 05 October 05 or 05 October 2005?
>
>thanks
>Dan


Sure. You can format dates using the builtin formats, *or* your own
custom formats. It takes some "drilling down" in the Help screen to
find it, but you have a whole bunch of formats you can combine.

These examples would be

dd mmm yy
dd mmmm yy
dd mmmm yyyy

respectively, and you can of course add punctuation or text as you
wish:

"'Day 'dd' of the month of 'mmmm', Anno Domini 'yyyy"

for example.

John W. Vinson[MVP]
 
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
Function Excel:If a Date>actual date create a RED alert in a cel? =?Utf-8?B?Q2xhdWRpbyBOYWNpZg==?= Microsoft Excel Programming 1 4th Jun 2007 04:00 AM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Microsoft Excel Worksheet Functions 2 10th Feb 2005 07:18 PM
Nested IF Function, Date Comparing, and NetworkDays Function =?Utf-8?B?Y2FybA==?= Microsoft Excel Worksheet Functions 2 29th Dec 2004 09:57 PM
Datedif function doesn't work when I use the cell with a date as start date reference Joy Microsoft Excel Worksheet Functions 2 3rd Apr 2004 12:47 AM
Reports---adding Month-To-Date and Year-To-Date totals Patricia R. Turner Microsoft Access Reports 1 19th Sep 2003 06:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:19 PM.