General Community > Scripting Help

Converting date/time into a Unix timestamp

<< < (2/4) > >>

[Unknown]:
MySQL also has special stuff for it, like FROM_UNIXTIME() and UNIX_TIMESTAMP().  I love them.

-[Unknown]

writeto:
Don't you find the functions in MySQL to be a little slow when using it for outside the database?

Andrew

David:

--- Quote from: writeto on October 13, 2003, 12:12:55 AM ---Don't you find the functions in MySQL to be a little slow when using it for outside the database?

--- End quote ---
I don't think he means he uses it in the middle of a PHP script to make the conversion but rather when inserting or selecting data so it is in the format that is needed.

writeto:
I won't make such assumptions since it is possible to use it in the middle of a php script and I have known some sloppy coders in my time.

[Unknown]:

--- Quote from: writeto on October 13, 2003, 03:59:21 AM ---I won't make such assumptions since it is possible to use it in the middle of a php script and I have known some sloppy coders in my time.

--- End quote ---

*is very, very scared...*

You're kidding, right?  I hope you don't think SMF is AT ALL coded in ANYTHING SIMILAR to that way!!

-[Unknown]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version