change the default date time format for an entire web site?

Discussion in 'ASP .Net' started by Jéjé, Nov 14, 2005.

  1. Jéjé

    Jéjé Guest

    Hi,

    how to setup a specific date/time format for my web site without having to
    apply the format in each grid etc... ?

    today the format include day, hour, minutes and seconds, I want only the day
    like this format:
    mydate.ToString("d")

    there is any web.config option to do this?
    I'm using ASP.NET 2.0.

    thanks.

    Jerome.
    Jéjé, Nov 14, 2005
    #1
    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. Brian Candy
    Replies:
    2
    Views:
    1,150
    Janaka
    Feb 18, 2004
  2. Miguel Dias Moura
    Replies:
    1
    Views:
    355
    Cor Ligthert
    Apr 12, 2004
  3. Peter Grison

    Date, date date date....

    Peter Grison, May 28, 2004, in forum: Java
    Replies:
    10
    Views:
    3,231
    Michael Borgwardt
    May 30, 2004
  4. Summu82
    Replies:
    5
    Views:
    853
    Richard Heathfield
    Jun 7, 2006
  5. Fregas
    Replies:
    0
    Views:
    154
    Fregas
    Jan 2, 2007
Loading...

Share This Page