Culture aware dates

Hi,

Being from one of the original US colonies (the UK), we get our dates the wrong way around, i.e. dd/mm/yyyy.

When I use the the 'date:' column in the API it's always en-US culture. Is that right, as the locale-dates then need converting for comparisons/math

I was happily assuming that the new 2.6+ API would make this better, in that the API would be 'culturally aware', but you know what they say about people who assume, so thought I should check/suggest the idea.

Also, as I am developing a product that embeds/utilizies the WDS, is there a way to sign up for beta's of the SDK etc, i.e. as I would be able to offer feedback




Answer this question

Culture aware dates

  • lteska

    Hi David,

    Apologies for the delay in responding - trying to get an answer to your question.

    Thanks for your patience.

    Bill Connors

    Program Manager, Windows Desktop Search - Communities



  • wolka

    batman is from us.  you not us colonie, ok.  you free to sing and write.  like ok   like you ok

    uk made many colonies.  us make other colonies.  like ....  ok   you ok.  you get dates right.  ok

     

     

     


  • MT100

    Hi David,

    I really appologize for the delay in getting back to you.

    Basically The date is always returned as the language neutral VARIANT VT_FILETIME. You should be able to take this value from the query and format it any way you like when displaying it.

    I hope this helps!

    Jeff



  • Culture aware dates