Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

behnampmdg3's avatar

A question about DATE and accessing pages based on date added

Hello;

If the user is allowed to access a page x days after joining a list ( GUI => https://prnt.sc/je9xdv ), does this mean if they join 11 pm, they get access at midnight?

Or does it work based on hours?

Is this a business decision or are there rules for this?

Thanks

0 likes
1 reply
bobbybouwmann's avatar
Level 88

Well this is completely up to you! However to make it easier for yourself you can calculate with dates only instead of dates and hours. If this is a client project you should ask the client for the correct requirements!

Please or to participate in this conversation.