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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 last here date in members.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GarethMoore1979
Junior Member

United Kingdom
220 Posts

Posted - 02 July 2004 :  19:14:36  Show Profile
In members.asp, for admin and moderators view they see 'last visit' column. Which shows the date of the last visit of each member.

I want to modify this so that it also shows the time of the last visit.
From what I can see, the database collects the info (ie it collects both time and date), but in members.asp it only displays the date.

This is the part in question:

" & ChkDate(Members_MemberLastHereDate,"",false) & "

is it possible (without too much hasstle) to change this? Its only minor so if its too difficult I wont bother. But if anyone has done this before and its a quick easy change, I would be intesrted to see how.

thanks!

laser
Advanced Member

Australia
3859 Posts

Posted - 02 July 2004 :  19:26:11  Show Profile
Without checking, I think if you change the false to true you will get the time as well.
Go to Top of Page

MasterOfTheCats
Junior Member

103 Posts

Posted - 02 July 2004 :  19:36:38  Show Profile
Laser's answer is correct, but you may like to set the second parameter ("") to "-" or a " " (blank) to separate the date and time from each other.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 02 July 2004 :  20:15:06  Show Profile
Thanks mate, I just had time to check the code to see if I was right. I've used that function quite a few times - it's great
Go to Top of Page

GarethMoore1979
Junior Member

United Kingdom
220 Posts

Posted - 02 July 2004 :  23:38:53  Show Profile
if I wanted the time on on a seperate line (underneath) can I simply add a <br> tag as normal?

ie: "<br>"
Go to Top of Page

MasterOfTheCats
Junior Member

103 Posts

Posted - 03 July 2004 :  14:08:31  Show Profile
Sure you can :)
Go to Top of Page

GarethMoore1979
Junior Member

United Kingdom
220 Posts

Posted - 03 July 2004 :  14:45:00  Show Profile
thanks guys!!! it worked!!
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.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07