Datenum and timenum

are there any libraries that generates the datenum and timenum based
on input.
appreciate any help

seede