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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 How to trim time off of date
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 11 October 2002 :  02:21:11  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
I'm trying to get just the date (no time) off of strForumTimeAdjust, but I cant seem to figure out how. I was pretty sure there was a function that did that, but I just searched through all kinds of code for it and havnt found something of the sort.... perhaps it got moved around, removed, changed, or something while I was gone...

anyone know what I'm talking about?

-Stim

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 11 October 2002 :  02:22:01  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
left(DateToStr(date()),8) seems to work, but the string doesn't match the string for dates only in the database....

-Stim
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 11 October 2002 :  04:01:36  Show Profile
DateToStr(chkDate(DateToStr(strForumTimeAdjust), "/", false))
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 11 October 2002 :  07:10:58  Show Profile
or

DateToStr(DateValue(strForumTimeAdjust))
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.68 seconds. Powered By: Snitz Forums 2000 Version 3.4.07