I can get only the currently ongoing quiz. How to display the exact time only until the next quiz?

I can get only the currently ongoing quiz. How to display the exact time
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know, whether I got your question right: “I can get only the currently ongoing quiz.” Does that mean, you have the ID of the currently ongoing quiz or that you can determine this quiz by comparing its start and end with the current time?
In first case, you can do:
In second case, it’s even easier: