Link to home
Start Free TrialLog in
Avatar of dzirkelb
dzirkelbFlag for United States of America

asked on

Convert current date to Julian date code - Access query or VB

I need to update a field with the current Julian code on a daily basis.  The hurdle I have is how to find the Julian date code, based upon today's date.  I'd rather do it in a query, but can create a macro and do it in VB if needed.  Any suggestions?
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

Really simple, it's the VBA format function:

? Format$(Now(),"y")

Jim.
ASKER CERTIFIED SOLUTION
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial