Answer the question
In order to leave comments, you need to log in
How to convert date to uniqid()?
There is a code that returns a date with microseconds. How can I convert it to the hexadecimal format that uniqid() returns?
function udate($format = 'u', $utimestamp = null) {
if (is_null($utimestamp))
$utimestamp = microtime(true);
$timestamp = floor($utimestamp);
$milliseconds = round(($utimestamp - $timestamp) * 1000000);
return date(preg_replace('`(?<!\\\\)u`', $milliseconds, $format), $timestamp);
}
echo udate('Y-m-d H:i:s.u');
Answer the question
In order to leave comments, you need to log in
I left it as it was, the php code that generates the footer, replaced it with html wherever it was and added it to style="color: white !important;"
The problem is in this piece of code.
..., .footer-menu-links li>a:hover, .archive-title, tbody a, p a, dl dd a, ... {
color: #000 !important;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question