21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 992 Views |
-
SS_Datetime

11 August 2010 at 11:11pm
hai,
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("Date" =>"SS_Datetime"
);
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 !! -
Re: SS_Datetime

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.
| 992 Views | ||
|
Page:
1
|
Go to Top |


