Changed the datetime to online timestamp function so now() will fire correctly.  Added documentation to some functions.