Fixed improper hour representation

hh does not return the proper 0-23 hrs on Andoird, kk does. New
function to simply get the current date in SQL Date format.