Author Topic: UTimeM - UTime for MySQL  (Read 35949 times)

0 Members and 8 Guests are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UTimeM - UTime for MySQL
« Reply #45 on: August 14, 2012, 09:35:04 PM »
Been a while since I've looked at any of the UTime code... is it not common Epoch time?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MKServers

  • Newbie
  • *
  • Posts: 10
  • Karma: 3
Re: UTimeM - UTime for MySQL
« Reply #46 on: August 15, 2012, 03:11:37 PM »
Been a while since I've looked at any of the UTime code... is it not common Epoch time?

Yes, thank you so much! This will be very helpful, thank you!
If anyone needs to use PHP to convert Epoch time, here is a link:
http://forums.devshed.com/php-development-5/php-epoch-time-conversion-498260.html
« Last Edit: August 15, 2012, 03:13:57 PM by MKServers »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UTimeM - UTime for MySQL
« Reply #47 on: August 15, 2012, 07:03:30 PM »
Welcome. Glad you found tip useful, and thanks for the reference for anyone else that might need it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MRDRMUFN

  • Newbie
  • *
  • Posts: 9
  • Karma: 6
    • Ingenious Gaming
Re: UTimeM - UTime for MySQL
« Reply #48 on: August 16, 2012, 09:13:44 PM »
I require some help of my own(Here is a MySQLOO Utime).http://forums.ulyssesmod.net/index.php/topic,5737.0.html
So the following WILL require a little knowledge of how Utime saves. It is all numbers. I need a way for my PHP Loading screen to read these number, and break them up into Month, Day, and Year. I am not asking for much, I having been searching for a while and can't figure this out, so any help would be appreciated.
I do know alot about coding, I run my own server, [MK] Servers as my name would show, and i have coded my own things with MySQL and PHP but cant find a way for PHP to read the Utime numbers. Please help me.
Thank you all in advance.

I like how you suggested I should check out a topic I made :P
« Last Edit: August 16, 2012, 09:26:42 PM by MRDRMUFN »