Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 22nd, 2005, 02:56 PM
Registered User
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Convert date to number

Hi,

I have access table with date in "mm/dd/yyyy" format. I need to convert it to number as "yyyymmdd". Can it be done in Access 2003 with or without programming(vba)?

I would be very grateful for any hints or suggestions.

Thank you.

Samir

 
Old July 22nd, 2005, 03:04 PM
Authorized User
 
Join Date: Jun 2004
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can creat a query and make the following field:

Format([YourTable.YourDate],"yyyymmdd")

Let me know if that works.

"Life is a Database"





Similar Threads
Thread Thread Starter Forum Replies Last Post
convert time field to number jobalistic Access 17 February 22nd, 2013 12:40 PM
convert number into words on acces form superparim Wrox Book Feedback 0 September 19th, 2005 01:55 PM
Convert to a number ticktack Classic ASP Basics 4 February 9th, 2004 05:31 AM
How can i convert english numbers to arabic number zahidpervaiz Classic ASP Databases 0 December 30th, 2003 06:51 AM
Convert String Date to Date for a SQL Query tdaustin Classic ASP Basics 4 July 7th, 2003 06:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.