Hello,
I am a newbie to coding and need some help. I am trying to figure out
why the following code is not producing the correct Julian date. Any
suggestions? Also, I am trying to understand the syntax liek what
does DateAdd mean? If anyone can offer some good tutorials it would
be appreciated as well.
Thanks in advance.
Here is the code:
Format((DateAdd ("d",-1,DateAdd("yyyy ",
5,DateSerial(Ye ar(Now()),Month (Now())+1,1))))-
DateSerial(Year (DateAdd("d",-1,DateAdd("yyyy ",
5,DateSerial(Ye ar(Now()),Month (Now())+1,1))))-1,12,31),"000") AS
[Julian Date]
I am a newbie to coding and need some help. I am trying to figure out
why the following code is not producing the correct Julian date. Any
suggestions? Also, I am trying to understand the syntax liek what
does DateAdd mean? If anyone can offer some good tutorials it would
be appreciated as well.
Thanks in advance.
Here is the code:
Format((DateAdd ("d",-1,DateAdd("yyyy ",
5,DateSerial(Ye ar(Now()),Month (Now())+1,1))))-
DateSerial(Year (DateAdd("d",-1,DateAdd("yyyy ",
5,DateSerial(Ye ar(Now()),Month (Now())+1,1))))-1,12,31),"000") AS
[Julian Date]
Comment