Adding some usefull fonctions

Adding days
Remove days
Convert string to SQL format