Welcome Guest, Not a member yet? Register   Sign In
relative dates?
#17

[eluser]Gordaen[/eluser]
[quote author="jvittetoe" date="1196845301"]one more thing, how can i convert a mysql timestamp into a unix timestamp.[/quote]

You can do that at the database with MySQL's UNIX_TIMESTAMP() function or else load CI's date helper and use mysql_to_unix().

As far as the discussion about intelligent defaults, I think using the largest two units makes the most sense for defaults, but configurability would be nice.


Messages In This Thread
relative dates? - by El Forum - 12-03-2007, 03:30 PM
relative dates? - by El Forum - 12-03-2007, 04:15 PM
relative dates? - by El Forum - 12-03-2007, 04:16 PM
relative dates? - by El Forum - 12-03-2007, 04:29 PM
relative dates? - by El Forum - 12-03-2007, 05:28 PM
relative dates? - by El Forum - 12-03-2007, 06:04 PM
relative dates? - by El Forum - 12-03-2007, 07:00 PM
relative dates? - by El Forum - 12-04-2007, 09:01 PM
relative dates? - by El Forum - 12-04-2007, 09:37 PM
relative dates? - by El Forum - 12-05-2007, 02:50 AM
relative dates? - by El Forum - 12-05-2007, 03:27 AM
relative dates? - by El Forum - 12-05-2007, 03:57 AM
relative dates? - by El Forum - 12-05-2007, 03:58 AM
relative dates? - by El Forum - 12-05-2007, 06:41 AM
relative dates? - by El Forum - 12-05-2007, 10:19 AM
relative dates? - by El Forum - 01-11-2008, 02:52 PM
relative dates? - by El Forum - 01-12-2008, 03:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB