method date_to_ts can now take time as an optional second parameter
Fixed bug in add_course.php now it warns the user if the code course is duplicated.
Merge branch 'master' into dante