Julian dates question

Tech-Archive recommends: Speed Up your PC by fixing your registry



How may I represent dates as Julian dates - I have seen code where julian dates are represented as longs, and other where they are represented as floats. Which is the correct representation?

Anyone knows where I can obtain a routine for converting:

1). Dates to/from julian representations
2). Date/time values to/from Julian representations

.