Pull Request 2 Dev 1.1

I tried using the date() function but it returns an error saying that a non well formed numeric value is encountered