Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Business Applications
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem ram recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Access 2003, want date/time to show day and month only (& no year) in query

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

 
Thread Tools
tjamnz's Avatar
Computer Specs
Senior Member with 756 posts.
 
Join Date: Jun 2004
Location: Seattle
05-Nov-2009, 08:45 PM #1
Access 2003, want date/time to show day and month only (& no year) in query
I would like to "Build" an expression for a date/time field that will query the date and display my query output as "01/01" or "January, 1st", and leave off (omit) the year.

Im trying to print a report of my employees birthdates without displaying the year, so i can post it publicly.

the name of the column is dob (date of birth) and the format is standard date/time, displayed normally as 01/01/2009 etc ....

The best idea i could come up with so far is

= Format (Date(), "dddd, mmm d")

but this displays todays date and not the date stored in my column lol.
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 4,511 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
05-Nov-2009, 10:28 PM #2
Hi there,

Can't you change out "Date()" for your field name?

Edit: Also, the format in your formula doesn't match what you're asking for. The format for that would be "mm/dd".
tjamnz's Avatar
Computer Specs
Senior Member with 756 posts.
 
Join Date: Jun 2004
Location: Seattle
05-Nov-2009, 11:20 PM #3
I'll try that in the morning.

however, I dont think i can functionalize () (lol) my column name though
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 4,511 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
05-Nov-2009, 11:22 PM #4
Either I'm tired and missed the joke or... or I'm tired and missed something altogether. LOL!

You're doing this for a report, right? You should just be able to reference that field, i.e. TableName!FieldName. Let us know how it goes.
tjamnz's Avatar
Computer Specs
Senior Member with 756 posts.
 
Join Date: Jun 2004
Location: Seattle
05-Nov-2009, 11:41 PM #5
re
cool thanks.

.... someone at work asked me for help, and i said i'd look into it.
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 4,511 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
05-Nov-2009, 11:42 PM #6
That's how it starts. Be careful... it's addicting!
Reply Bookmark and Share

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 06:56 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.