troubleshooting Question

Date Formatting (I need one day prior)

Avatar of jsuttor
jsuttor asked on
Programming
1 Comment1 Solution286 ViewsLast Modified:
Here is the way my date is displayed and its beautiful with one exception.... How do I get my date field to display one day prior's date... Like lets say the Date_Time field displays 4/1/2005.... well that is the day I imported the stats in the database not the actual date of the stats... How can I get it to display the date for one day prior to the date in the date_time field.

<%=MonthName(DatePart("m", rs7("date_time"))) & " " & Day(rs7("date_time"))%>

j
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros