D
David Doing
This worked in VB6, but does not in VB.Net
Format(MyDate - DateSerial(Year(MyDate) - 1, 12, 31), "000")
Where:
MyDate is type Date and = #11/16/2003#
It should return the Julian Day # --> 321
But I get an error "Specified cast is not allowed"
Any help here??
Thanks,
David
Format(MyDate - DateSerial(Year(MyDate) - 1, 12, 31), "000")
Where:
MyDate is type Date and = #11/16/2003#
It should return the Julian Day # --> 321
But I get an error "Specified cast is not allowed"
Any help here??
Thanks,
David