I want to convert the current date and time with special timezone to decimal(16,4) in PHP. That's my code:
$gmtTimezone = new DateTimeZone('Europe/London');
$myDateTime = new DateTime("now" , $gmtTimezone);
$time = $myDateTime->format('U');
but It returns a decimal(16) number in GMT and shows 1549351821 but I want something like that:
1549351821.1589