Date Format to get from server

SujaSuja Member Posts: 46
Hi All

My target to is to get the current date format from the server.
The intention is if the server date format is in dd/mm/yy, then if the client PC user changed date format to mm/dd/yy, i need to compare the format and should not allow the client to proceed if the date format mismatch...

How to go about this..
Using ADO connection, i manage to get the server date, but the format follow the local system settings...
How to get the date format from the server and to compare with system date format?

Awaits your help

Comments

  • bbrownbbrown Member Posts: 3,268
    Date formats are are controlled by the computer's regional settings. If you want them the same then set them the same. Anyways, why does it matter if they are different?
    There are no bugs - only undocumented features.
  • SujaSuja Member Posts: 46
    FOr some reasons like company policy we need to ensure it has to be in dd/mm/yy format...
  • SujaSuja Member Posts: 46
    closed...manage to solve the issue
  • bbrownbbrown Member Posts: 3,268
    What was your solution?
    There are no bugs - only undocumented features.
  • SujaSuja Member Posts: 46
    followed the topic --> Post subject: Controlling the date fieldPosted: Thu Sep 27, 2007 4:49 am , suggestion from Luc
Sign In or Register to comment.