I was asked to write a module for our billing system and completed it using all of the functions I am accustomed to. It was tested on an English setup, but I did not take into account (nor was I aware of) the fact the actual system our company uses is French.
The code that I wrote is...
$due_date = strtotime($next_due_date);
$today = date('Y-m-d');
$today_date = strtotime($today);
if ($due_date > $today_date) {
However I am unfamiliar with StrFTime and wondering how I can use it to get this code to work for French locale?
$next_due_date
contain as a string representation of date? – Sundsvall