I know there is a Julian Date function in Vb.Net but I don't know how to use it I'm new to VB.Net. I want to get the Julian Date of the given system date.

e.g. vDate = #4/15/2005#
m = JulianDate(vdate)
Result: 2005105

Could anybody help me how to do this? In VB6 to get the number of Days in a year I use format function (format(date,"Y")) but don't know in VB.Net

Thanks,
Jbats