Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 displaying the snitz date
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 27 October 2001 :  02:56:40  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
ok snitz uses the strtodate functions, and so on. It basically inserts the full date, and time. I want to leave it like this but on some pages I just want to display the date. How can I take a variable that has an old date and time, and then return just the date?

Example
I have
strOLDDateAndTime = "10/7/2001 8:59:38 AM"
and I want to have
strOldDate = "10/7/2001"

Brad

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 27 October 2001 :  03:25:24  Show Profile
In the forum, to display just the date, we have a function called ChkDate, it's used on default.asp, forum.asp, topic.asp, active.asp, search.asp, etc...
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 27 October 2001 :  11:03:07  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
thanks richard

Brad
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07