Dealing with Dates (again)



I've got a FlexGrid where I want to put dates across the top row.

I'm only interested in part of the date, however.

For example, I may only want to put the month and day and leave off the
year.

Ex: mm/dd

This is easy, except for one thing I'm not sure of.

If someone is using the program from a country that puts the day ahead of
the month, how would I code the program to detect this and adjust this?

Ex: dd/mm


If I use Format(MyDate, "mm/dd"), it will be wrong for areas that use dd/mm.

Thanks.

Webbiz





.



Relevant Pages

  • Re: Dealing with Dates (again)
    ... "Webbiz" wrote in message ... If someone is using the program from a country that puts the day ahead of the month, how would I code the program to detect this and adjust this? ... If I use Format, it will be wrong for areas that use dd/mm. ...
    (microsoft.public.vb.general.discussion)
  • Re: Wordwrap
    ... If the text in a cell is too long to display in the cell, and the WordWrap ... Have to use the hidden textbox to adjust the row height on ... the flexgrid. ...
    (comp.lang.basic.visual.misc)
  • Re: Wordwrap
    ... If the text in a cell is too long to display in the cell, and the WordWrap ... Have to use the hidden textbox to adjust the row height on ... the flexgrid. ...
    (comp.lang.basic.visual.misc)
  • Re: Wordwrap
    ... Have to use the hidden textbox to adjust the row height on ... the flexgrid. ... I'm guessing your binding the control to some datasource? ...
    (comp.lang.basic.visual.misc)
  • Re: Wordwrap
    ... Have to use the hidden textbox to adjust the row height on ... the flexgrid. ... of the MSHFlexgrid and the ADO, and I see no real place for the code. ...
    (comp.lang.basic.visual.misc)