-Added functions, comments -Remover a function

-Added gen_post_date()
-Added func_check_date()
-Removed a function
-Added comments