Change active statement to inherit date format (more flexible and wider support).