Format Function returning Wrong culture in asp.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ian Baker

    #1

    Format Function returning Wrong culture in asp.net

    Hi all

    Currently Running an asp.net project with a sql 2000 back end. I grab
    a record using the SqlDataReader and it returns the Date fine in
    MM/dd/yyyy format, but when I do the following line

    txtFinishDate.T ext = Format(rdrCampa ign.Item("Finis hDate"), "Short
    Date")
    it comes up in the text box in the dd/MM/yyyy format.

    Can anyone help me

    Cheers

    Ian
Working...