Julian Calendar

Discussion in 'ASP .Net' started by =?ISO-8859-1?Q?Andr=E9_Nobre?=, May 9, 2005.

  1. Hi all...

    i need to convert my actual date (gregorian) to julian format. Actually
    i'm doing this with T-SQL:

    DATEDIFF (day, CONVERT(datetime, '1900-01-01', 110), CONVERT(datetime,
    '9/05/2005', 110))

    How can i do this with asp.net (specifically with vb.net)? I tried using
    Calendar, JulianCalendar, but i didn't get any sucess.

    Thanks,
    André Nobre
    =?ISO-8859-1?Q?Andr=E9_Nobre?=, May 9, 2005
    #1
    1. Advertising

  2. =?ISO-8859-1?Q?Andr=E9_Nobre?=

    Lucas Tam Guest

    André Nobre <> wrote in news:uqx2#dKVFHA.1384
    @TK2MSFTNGP09.phx.gbl:

    > How can i do this with asp.net (specifically with vb.net)? I tried using
    > Calendar, JulianCalendar, but i didn't get any sucess.


    As a note, when inserting dates, you might want to use SQL parameters - SQL
    parameters auto convert the date into the proper format for you.

    --
    Lucas Tam ()
    Please delete "REMOVE" from the e-mail address when replying.
    http://members.ebay.com/aboutme/coolspot18/
    Lucas Tam, May 9, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UmFqYQ==?=

    Convert Julian Date to VB.NET date

    =?Utf-8?B?UmFqYQ==?=, Nov 12, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    5,989
    =?Utf-8?B?UGF1bA==?=
    Nov 12, 2004
  2. =?Utf-8?B?Q2hyaXMgRGF2b2xp?=

    Gregorian to Julian Date conversion

    =?Utf-8?B?Q2hyaXMgRGF2b2xp?=, Feb 2, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    6,453
    Mark Rae
    Feb 3, 2005
  3. Sam
    Replies:
    1
    Views:
    5,117
    Pete Davis
    Apr 27, 2005
  4. Replies:
    2
    Views:
    1,719
    Juan T. Llibre
    Aug 13, 2006
  5. Satish

    Julian timestamp to readable format

    Satish, Oct 5, 2004, in forum: C Programming
    Replies:
    2
    Views:
    2,835
    Satish
    Oct 11, 2004
Loading...

Share This Page