Casting a datetime to double ?!

  • Thread starter Thread starter chris-s
  • Start date Start date
C

chris-s

I'm converting someones old eVB code and have a strange requirement
the needs me to convert a datetime value into a decimal. The evb code
does a simple "CDbl(Now())", but I'm struggling trying to come up with
a .Net equivilent, any suggestions?

Cheers

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top