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)
 date conversion
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

SaiyanJin
Junior Member

115 Posts

Posted - 30 March 2001 :  20:06:32  Show Profile
how do i convert this: 20010330181126

to this: 03/30/2001

from the forum.
Thanks.

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 30 March 2001 :  20:32:41  Show Profile  Visit HuwR's Homepage
in inc functions there is a function called strToDate this will convert 20010330181126 into a date time.

If you just want to display the date portion, then you would do

chkDate(strToDate('20010330181126')) and similarly
chkTime(strToDate('20010330181126')) to display the Time.

Go to Top of Page

SaiyanJin
Junior Member

115 Posts

Posted - 30 March 2001 :  20:54:09  Show Profile
Thanks HuwR! Thanks so much!

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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07