Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi. In vb6 you could convert date to integer very simple. (like in excell). Integer then represented day number (starting to count at 1.1.1900).

So date 1.1.1900 was converted to integer 1, 2.1.1900 to integer 2, etc...

 

Is there any avaliable function to convert date to integer (that would represent number of days)????

 

 

tx matej

  • Leaders
Posted
All date variables have a .ToOADate() function that converts it into an OLE Automation Date: the number of days past 12.31.1899 :).

Iceplug, USN

One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...