Solved

formating date

Posted on 2006-11-07
4
156 Views
Last Modified: 2010-04-30
I want to format the date to loose the seperators:

eg: 7/11/2006 to 7112006

Idea on how?

cheers,

`Andy
0
Comment
Question by:xizor
  • 3
4 Comments
 
LVL 35

Accepted Solution

by:
Raynard7 earned 125 total points
ID: 17887628
if that is the date you can do

format(dateValue, "ddmmyyyy")

which would give

07112006 if dateVAlue = 7/11/2006
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 17887633
x =replace(7/11/2006,"/","")
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 17887640
MsgBox (Replace(Date, "/", ""))
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 17887646
msgbox(replace("7/11/2006","/","")) or MsgBox (Replace(Date, "/", ""))
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question