Skip to content

Instantly share code, notes, and snippets.

@robkorv
Created August 1, 2013 12:23
Show Gist options
  • Save robkorv/6130854 to your computer and use it in GitHub Desktop.
Save robkorv/6130854 to your computer and use it in GitHub Desktop.
asp classic vbscript date object to shortdate string
function toShortTimeString(dateObject)
toShortTimeString = ""
if not (IsNull(dateObject)) then
toShortTimeString = FormatDateTime(dateObject, 4)
end if
end function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment