Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Convert Julian Date to VB.NET date

Reply
Thread Tools

Convert Julian Date to VB.NET date

 
 
=?Utf-8?B?UmFqYQ==?=
Guest
Posts: n/a
 
      11-12-2004
Hi
Anyone has any idea of how to convert Julian Date (eg. 12744057862..) to a
VB.NET date time.

Thanks in advance.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGF1bA==?=
Guest
Posts: n/a
 
      11-12-2004
Not sure if this is what you need, but if you want the jul day for example
today would be 317 you can use,
Imports System.Globalization 'GregorianCalendar class

Dim cal_gregorian As New GregorianCalendar 'instance of Gregorian calendar
class.
s_day = cal_gregorian.GetDayOfYear(System.DateTime.Today)
Paul.
"Raja" wrote:

> Hi
> Anyone has any idea of how to convert Julian Date (eg. 12744057862..) to a
> VB.NET date time.
>
> Thanks in advance.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GetDayOfYear JulianCalendar System.globalization producing wrong julian date??? jason@cyberpine.com ASP .Net 2 08-13-2006 02:24 PM
How can I convert a Julian (1970) time value to a standard date an =?Utf-8?B?SmFjaw==?= Microsoft Certification 1 07-25-2006 10:14 AM
Julian Calendar =?ISO-8859-1?Q?Andr=E9_Nobre?= ASP .Net 1 05-09-2005 03:06 PM
convert Julian date to Gregorian date Sam ASP .Net 1 04-27-2005 01:12 PM
Gregorian to Julian Date conversion =?Utf-8?B?Q2hyaXMgRGF2b2xp?= ASP .Net 3 02-03-2005 06:51 PM



Advertisments