Date and Time Functions

Hello,


I am looking for two functions that will take a date

and time value and return a real number representation.

This functionality seems apparent in some applications

that I own.


If I pass March 12, 1999 (or 03/12/99), I would like to

get back 19990312. I would like to do the reverse, also.


If I pass the time as 20:44:18.761, I would like to get

back 0.86410602. Here, too, I would like to do the

reverse.


I would like to pass both in at the same time, possibly

as an object, and get the value back as a real number.

And vice-versa.


Does anyone have the source code for this? Does anyone

know where I can get the code for this? Maybe a library

of functions?


Thanks,


Rodney







Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories