?
Solved

DoDateTime format

Posted on 2004-07-30
4
Medium Priority
?
1,677 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
j2nku earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

752 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