Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #55.0K
1 Posted Topic
@dani.stanisheva, to fix it you can change this codeline: $end = new \DateTime( $now->format('m/t/Y'), new \DateTimeZone( 'America/Bahia' ) ); to: $end = new \DateTime( $now->format("m/".**cal_days_in_month(CAL_GREGORIAN,$month,$year)**."/Y **23:59:59**"), new \DateTimeZone( 'America/Bahia' ) ); Add "cal_days_in_month(CAL_GREGORIAN,$month,$year) and 23:59:59" on format method. It will include the last day. I create this function to wrap …
The End.
Adriano_1