45
Views
8
Comments
[Countdown Clock] Countdown show 0 if date is today and don't show hours and minutes to the end!
Question
coundown-png
Web icon
Forge asset by Hugo Pinheiro

If i set the Untildate to today more some time the countdown show 0 to everything.

2021-07-14 09-27-33
Luís Cardoso

Frankley Gustavo Fernandes Mesquita wrote:

If i set the Untildate to today more some time the countdown show 0 to everything.

In your today date, what are the value of hours and minutes (Time fields)?


UserImage.jpg
Frankley Mesquita

Yes, for ex: if i set until date to #2019-11-12 23:59:59# with CurrDateTime() = #2019-11-12 08:17:00#the countdown show 0 hours 0 minutes 0 seconds

2021-07-14 09-27-33
Luís Cardoso

Hi,


I try the sample and works as you can see below:


Can you please upload your oml to have a look on your code? Thanks

UserImage.jpg
Frankley Mesquita

Based in other forum site i'm using a portuguese version script, maybe can be this?

Anotao20191112083442.png
2021-07-14 09-27-33
Luís Cardoso

I think the problem could be also the timezone.

Here in Portugal it works fine

2021-07-14 09-27-33
Luís Cardoso

Where is the server located? What is the time in the server and your time? Is the same?

UserImage.jpg
Frankley Mesquita

The server is located in Brazil and them and we have the same datetime!

2021-07-14 09-27-33
Luís Cardoso

Frankley Gustavo Fernandes Mesquita wrote:

The server is located in Brazil and them and we have the same datetime!

Are you using other script? Did you test the script of the component? 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.