23380 Posts in 18311 Topics by 2867 members
|Go to End|
11 August 2010 at 11:11pm
I want to get the current time from the admin panel whenever a new page is added to a pagetype to store in the database.
Now am using SS_Datetime .And i tried time date also.It s not using to get the current time from user.
public static $db = array(
This is my code and when i am using this the data type of the date is storing as "Datetime" format.But i need to change the datatype as Timestamp (which is in mysql !). How can i do this. If anyone help for this it would be appreciated ...Thanks in advance !!
18 August 2010 at 4:40am
I don't think you can do that in SS per se, but you could write a sql query to get the timestamp out that way.
|Go to Top|