This is a discussion on "[SOLVED] Your last visit is Today??" within the Classic ASP section. This forum, and the thread "[SOLVED] Your last visit is Today?? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Your last visit is Today??
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Re: Your last visit is Today??
Ohh I see.. I get the idea now. Let me go back and play with my code.
I'll let you know yesterday! I mean tomorow.. lol Thanks..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
||||
|
Re: Your last visit is Today??
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
||||
|
Re: Your last visit is Today??
Go away... Smartie pants... lol
|
|
||||
|
Re: Your last visit is Today??
Instead of this code
The correct method to show 'today' would be a comparison when displaying the thing.... not when entering it in the database. Does that make sense?
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
Last edited by Monie; Oct 26th, 2007 at 00:53. Reason: correcting the [CODE] tag, hehehe... |
|
||||
|
Re: Your last visit is Today??
My head hurts
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
||||
|
Re: Your last visit is Today??
|
|
|||
|
Re: Your last visit is Today??
Hey guys.. check out what I've come up with!
I don't know if this way can be consider a "creative" way, but I have accomplished what I am trying to get. It's not a PHP code, I just use the php tag so that I get a nice colorful ASP code, lol.
CDate function converts a valid date (and time) expression to type Date. After converting them, I found out I can make the comparison directly. I don't know if this can be done in PHP? Hey Rob, I'll check out your code!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Nov 2nd, 2007 at 04:56. |
|
|||
|
Re: Your last visit is Today??
I got it the updated version, much more structured and understandable:
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Nov 2nd, 2007 at 04:55. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visit Falmouth | Jack Franklin | Website Planning | 4 | Mar 29th, 2008 13:52 |
| Last Visit? Last Activity? | Monie | Classic ASP | 5 | Jan 3rd, 2008 01:59 |
| visit from an old friend ! | bruno89 | Webforumz Cafe | 27 | Oct 28th, 2007 22:05 |
| [SOLVED] User Last Visit Status | Monie | Classic ASP | 3 | Oct 10th, 2007 03:03 |
| Googlebot Visit ????????? | Merlin | Webforumz Cafe | 3 | Oct 1st, 2007 00:55 |