R
red skelton via AccessMonster.com
Hi everyone,
Trying to display a Julian date in a query. I have the VB code to change a
calender day to a Julian, but how would I use use this code in a query? The
VB code I have came from the Microsoft Access website and it is;
Function CDate2Julian(MyDate As Date) As String
CDate2Julian = Format(MyDate - DateSerial(Year(MyDate) - 1, 12, _ 31),
"000")
End Function
Can anyone tell me how this would work in a query?
Many Thanks
Red
Trying to display a Julian date in a query. I have the VB code to change a
calender day to a Julian, but how would I use use this code in a query? The
VB code I have came from the Microsoft Access website and it is;
Function CDate2Julian(MyDate As Date) As String
CDate2Julian = Format(MyDate - DateSerial(Year(MyDate) - 1, 12, _ 31),
"000")
End Function
Can anyone tell me how this would work in a query?
Many Thanks
Red