By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,602 Members | 1,473 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,602 IT Pros & Developers. It's quick & easy.

Easy date formatting question

P: n/a

I have a variable that represents a standard mm/dd/yyyy date , but i
want to change it to just October 6

''''

datepart("m","d" , mydatevariable)

'''''

....doesnt work.

Muench

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Function MyDateFormat(dtm1)
If IsDate(dtm1) Then
MyDateFormat = MonthName(DatePart("m",dtm1)) & " " & Day(dtm1)
End If
End Function

--
'dlbjr
'Pleading sagacious indoctrination!
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.