int function ( java . sql . Timestamp arg0 ) { return ( int ) ( arg0 . getTime ( ) / 1000L ) ; }
get the seconds since 1970-01-01 00:00:00 utc of the given timestamp . see http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_unix-timestamp concode_field_sep String[] FORMAT_REPLACE concode_elem_sep String DATE_TIME_FORMAT concode_field_sep String date concode_elem_sep String fromUnixTime concode_elem_sep String fromUnixTime concode_elem_sep String convertToSimpleDateFormat concode_elem_sep void register