I know that in Android development if you get a date it is returned based on the phone’s Locale!
I have an android app that communicates with a server(whose geographic location can change).
The server returns a date that determines the end of the purchase benefit. The date is returned using the following PHP code:
$today = date_create();
date_modify($today,"+7 days");
$modified_date = date_format($today,"m/d/y");
echo "record created with date={$modified_date}";
Now, I am no expert in using PHP code, but it makes me think if somehow, just like in Android, will this modified date be localized based on the server geographic location?
I need everything to be based on Locale.US if not the date verifications will break.