Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

georgian Date to julian 1

Status
Not open for further replies.

NotSQL

Technical User
May 17, 2005
205
GB
Can anyone help me convert a georgian Date to julian date format using VB script..

Regards
Dave
 
You couldtry the following (UK date based):

Code:
Function JulDate(greg)

  JulDate = ((Year(greg) - 1900) * 1000) + (CDate(greg) - CDate("31/12/" & Year(greg) - 1))
 
End Function


where [tt]greg[/tt] is the Gregorian date that you pass in.


Hope this helps.


[vampire][bat]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top