Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How ro set Dataformat for DateTime widget
How ro set Dataformat for DateTime widget [message #652852] Mon, 07 February 2011 11:28 Go to next message
ash is currently offline ashFriend
Messages: 142
Registered: July 2010
Senior Member

How to set Dataformat for DateTime widget

i want set date in dd/mm/yyyy format how to do that ?

By default its is taking mm/dd/yyyy


[Updated on: Mon, 07 February 2011 17:33]

Report message to a moderator

Re: How ro set Dataformat for DateTime widget [message #653448 is a reply to message #652852] Wed, 09 February 2011 19:44 Go to previous message
Lakshmi P ShanmugamFriend
Messages: 277
Registered: July 2009
Location: India
Senior Member

The date format in the DateTime widget is based on your system's locale. In your system preferences choose a locale/region which has the required dd/mm/yyyy date format. (For example, on windows you could choose English (United Kingdom) in the Control panel -> Regional & Lang options -> Regional options).

Lakshmi P Shanmugam

[Updated on: Wed, 09 February 2011 19:46]

Report message to a moderator

Previous Topic:Validation in SWT DateTime widget?
Next Topic: Load a jar file in activeX IE from SWT Browser
Goto Forum:

Current Time: Thu Mar 04 16:09:29 GMT 2021

Powered by FUDForum. Page generated in 0.02046 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top