Welcome, Guest. Please Login or Register.
April 19, 2025, 09:40:29 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Understanding YaBB's date format « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Understanding YaBB's date format  (Read 300 times)
rpoelking
Noobie
*
Posts: 14


WWW
Understanding YaBB's date format
« on: September 12, 2003, 01:39:09 PM »
Reply with quote

YaBB SE Version: 1.5.4
PHP Version: 4.3.0
MySQL Version: 3.23.x
Server Platform: Unix, Linux, or BSD
Link to Forum: www.kajukenbocafe.com

Problem Description:
I am trying to manage my member's database a little more intelligently by making sure I don't delete members who just log in to read but never post. I've looked at the two date fields in the DB and they are both stored as BigInt(20). How do I convert that to a date I understand?
Logged
Douglas
aka The Bear
Support Team
YaBB God
*****
Posts: 1050


Bears rule! Llamas rule too!

WWW
Re:Understanding YaBB's date format
« Reply #1 on: September 12, 2003, 01:49:53 PM »
Reply with quote

http://www.php.net/time
http://www.php.net/date

Study the first one, since that's the format that it uses (or something similar)
Logged

Need help? Please SEARCH first.  No need for a bad attitude, we like helping positive minded people.
ComeHit.us Short URL  redirection svcs with YSE powered forums, COMING SOON!
Want to say thanks?  Check out http://comehit.us/?u=3
rpoelking
Noobie
*
Posts: 14


WWW
Re:Understanding YaBB's date format
« Reply #2 on: September 12, 2003, 02:31:14 PM »
Reply with quote

That does help but can I do this in MySQL? I'm more familiar with SQL that with PHP.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Understanding YaBB's date format
« Reply #3 on: September 13, 2003, 12:18:40 AM »
Reply with quote

SELECT FROM_UNIXTIME(posterTime);

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Understanding YaBB's date format « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.011 seconds with 17 queries.