Your variable "output" returns the success or failure of the "Create Directory" function, 1 or 0. If you want it to have the directory path as it value, use the following after creating the directory:
OUTPUT = dirpath""substitute(MDYHMS(Today()), "/", "-", ":", "."));
Jim