Solved

DoDateTime format

Posted on 2004-07-30
4
1,646 Views
Last Modified: 2010-05-18
Hi there,

How do I format the following

<%= DoDateTime((Bulletin.Fields.Item("EventDateTime").Value), 1, 1033) %>

Tuesday, August 24, 2004

into

Tuesday, August 24


Many thanks

MM
0
Comment
Question by:MaximusMeridus
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
j2nku earned 500 total points
ID: 11675821
<%
outvar = DoDateTime((Bulletin.Fields.Item("EventDateTime").Value), 1, 1033)
Response.Write(left(outvar,len(outvar)-6))
%>
0
 
LVL 22

Expert Comment

by:neeraj523
ID: 11675883

you can do it like this also..

<%
itemDate = Bulletin.Fields.Item("EventDateTime").Value
itemDate = Left(WeekDayName(WeekDay(itemDate)),3) & ", " & MonthName(Month(itmeDate)) & " " & Right("00" & Day(itemDate),2)
%>

neeraj523
0
 
LVL 1

Author Comment

by:MaximusMeridus
ID: 11675974
Thanks!
0
 
LVL 1

Author Comment

by:MaximusMeridus
ID: 11676001
Sorry one last thing..

How do I convert

Tuesday, August 24

to

Tuesday, 24th August
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now