![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Is there a way to change the format the calendar control uses on the form? (currently it is mm/dd/yyyy)
DateFormat("dd/mm/yyyy") only changes the format given in the "Today:..." part when you open the control. When you select a date the result shown in the control is once again in the mm/dd/yyyy format. Grateful for suggestions / Björn |
|
|||
|
Here is the code:
Sub App_Start DateFormat("dd/mm/yyyy") 'this one doesn't make a difference Form1.Show End Sub Sub Button1_Click FirstTime=Date1.Value+TimeParse(Hour1.Text&":"&Min 1.Text) SecondTime=Date2.Value+TimeParse(Hour2.Text&":"&Mi n2.Text) ResultTime=SecondTime-FirstTime End sub (dd/mm/yyyy is the default on my Pc) all the best / Björn Last edited by BjornF : 07-04-2007 at 03:33 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calendar Control: I can't see the year. | sloopa | Questions & Help Needed | 4 | 06-25-2008 07:30 PM |
| Calendar Control | alfcen | Questions & Help Needed | 9 | 02-12-2008 03:28 AM |
| Calendar control a simple and a complicated question | Cableguy | Questions & Help Needed | 3 | 02-09-2008 06:45 PM |
| Creating a Calendar control dynamically? | willisgt | Questions & Help Needed | 5 | 01-06-2008 10:48 AM |
| Close method for calendar control | specci48 | Basic4ppc Wishlist | 0 | 11-04-2007 09:44 AM |