There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus bios bsod computer crash dns drive driver drivers error ethernet excel freeze games gaming graphics hard drive hardware hdmi internet java laptop malware memory monitor motherboard network printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit 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

Reply  
Thread Tools
tjamnz's Avatar
Computer Specs
Senior Member with 769 posts.
 
Join Date: Jun 2004
Location: USA
Experience: Intermediate
05-Nov-2009, 09: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 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
05-Nov-2009, 11: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 769 posts.
 
Join Date: Jun 2004
Location: USA
Experience: Intermediate
06-Nov-2009, 12:20 AM #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 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
06-Nov-2009, 12:22 AM #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 769 posts.
 
Join Date: Jun 2004
Location: USA
Experience: Intermediate
06-Nov-2009, 12:41 AM #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 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
06-Nov-2009, 12:42 AM #6
That's how it starts. Be careful... it's addicting!
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:36 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.