$date="30/07/2010 13:24"; //Date example list($day, $month, $year, $hour, $minute) = split('[/ :]', $date); //The variables should be arranged according to your ... ... <看更多>
You can do that with simple PHP function. Is there any specific reason you want a drupal function ? If not then you can use PHP's date() function. ... <看更多>
CodeIgniter provides a fully-localized, immutable, date/time class that is built on PHP's DateTime object, but uses the Intl extension's features to convert ... ... <看更多>