Hi @mikeviele
Sorry about the difficulty using the UTC time. That feature is long overdue for an upgrade. Working with time, more specifically timezones, can be difficult, so standardizing the timezone was the choice I made in order to keep things working properly. But I do understand it’s a better user experience to work in your own timezone, and possibly have a datetime picker to make that easier.
The logic currently sits in the backend php plugin files. It uses php DateTime, https://www.php.net/manual/en/class.datetime.php. And its used in a function that purely determines whether to show or hide the banner. This is executed on runtime or cached depending on your site settings. Until i update that logic, you can use this PHP interpreter to play around with values, https://www.w3schools.com/php/phptryit.asp?filename=tryphp_compiler. With the code:
<!DOCTYPE html>
<html>
<body>
<?php
$curr_date = new DateTime('now', new DateTimeZone('UTC'));
$start_date = new DateTime('24 Oct 2024 12:46:00');
// Compare the dates
if ($curr_date < $start_date) {
echo 'Shown';
} else {
echo 'Not shown';
}
?>
</body>
</html>
Just change the date in $start_date and press “Run >” to see if your date will work.