dateFormat.1 + patch for importFromArray

Please check the first commit refering the post on alpha.

The second one is a pretty cool failover and if you're so kind to accept it please update the post on cimgf.com ;)