public static function getCurrentTimeWithCS ($sFormat)
    {
        $aMicrotime = explode(' ', microtime());
        $sFilledFormat = sprintf($sFormat, $aMicrotime[0]*1000000);
        $sDate = date($sFilledFormat, $aMicrotime[1]);
        return $sDate;
    }
public static function getCurrentTimeWithCS ($sFormat)
    {
        $aMicrotime = explode(' ', microtime());
        $sFilledFormat = sprintf($sFormat, $aMicrotime[0]*1000000);
        $sDate = date($sFilledFormat, $aMicrotime[1]);
        return $sDate;
    }
public static function getCurrentTimeWithCS ( $ sFormat ) { $ aMicrotime = explode ( ' ' , microtime ( ) ) ; $ sFilledFormat = sprintf ( $ sFormat , $ aMicrotime [ 0 ] * 1000000 ) ; $ sDate = date ( $ sFilledFormat , $ aMicrotime [ 1 ] ) ; return $ sDate ; }
Returns current time with hundredths of a second.

@param string $sFormat including %s for cs, eg: 'Y-m-d H:i:s.%s'
@return string current time with hundredths of a second.
Returns current time with hundredths of a second .