Microsoft Developer Network > Página Inicial dos Fóruns > Visual C# General > writing a DateTime cell in a spreadsheet, XML format
Fazer uma PerguntaFazer uma Pergunta
 

Respondidowriting a DateTime cell in a spreadsheet, XML format

  • quarta-feira, 4 de novembro de 2009 4:29Jon Q Jacobs Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    My C# app put this cell in a row:
    <ss:Cell><ss:Data ss:Type="DateTime">2007-07-06T00:00:00.000</ss:Data></ss:Cell>

    when I load the file in Excel, I see the value as 39269.

    What do I need to put into the cell so that it displays properly.

    If I need to post this on a different forum, please link me to it.

    Thanks,
    Jon

Respostas

Todas as Respostas