Get today's date in Julian Date format

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Get today's date in Julian Date format

Post by Marcus Tettmar » Wed Aug 06, 2003 11:00 pm

Contributed By: Marcus Tettmar [email protected]
Submitted On: 07/08/03

VBSTART
Function Julian
Julian = (Year(Now) Mod 10) * 1000 + DateDiff("d", DateSerial(Year(Now), 1, 1), Now) + 1
End Function
VBEND

VBEval>Julian,myJulianDate
MessageModal>myJulianDate

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts