Posts
 
Reputation
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
~4K People Reached
Favorite Forums
Favorite Tags
php x 3

1 Posted Topic

Member Avatar for calebcook

@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 …

Member Avatar for Adriano_1
0
4K

The End.