Print Page | Close Window

Date formatting function

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=6888
Printed Date: 31 March 2026 at 1:22pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Date formatting function
Posted By: Flamewave
Subject: Date formatting function
Date Posted: 31 October 2003 at 3:27pm

Couple months ago I threw this together because I was sick of the way that ASP handles dates, it was always a pain to have to re-format the date output manualy everytime I didn't want to use the formatdatetime function because it didnt support the style of output that I wanted. The function is based off of a function that I found from the 4guysfromrolla site, then I re-worked the whole thing and improved it more and added timezone support as well. Just figured I would share the function with the general public. For those of you that know php, its very similar to the date() function in php, only slightly more enhanced.

http://www.flameservers.com/asp_apps/dateformat/ - http://www.flameservers.com/asp_apps/dateformat/

(the link may be down every now and then...my host has been doing some strange stuff lately and it spits out some weird server errors every now and then)



-------------
- Flamewave

They say the grass is greener on the other side, but if you really think about it, the grass is greener on both sides.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net