FeebleOne 0 Posted March 16, 2015 Report Share Posted March 16, 2015 Hi guys I have a ui text box which i need to fill with a date as in dd/mm/yyyy this gets passed to a element What I am trying to achieve is I need only to put the day in as like 23 and use code to add that to /03/2015 so i have 23/03/2015 I am sure i probable use variables but not knowing how to go about it this is the code for the textbox ui text box("Date (format: 05/01/2015)",#dateSelect) any help will be appreciated you can be sure Regards Graham Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted March 17, 2015 Report Share Posted March 17, 2015 You can get the plugin date time manipulation at ubotdev.com it's free and try this ui text box("Date (format: 05/01/2015)",#dateSelect)set(#DT,$plugin function("DateTime Manipulation.dll", "$datetime manipulation", #dateSelect, "MM/dd/yyyy", "dd/MM/yyyy", "en-US", "en-US"),"Global")alert(#DT) CD Quote Link to post Share on other sites
FeebleOne 0 Posted March 18, 2015 Author Report Share Posted March 18, 2015 Thanks Code Docta I have now installed that pluginAppreciate your helpGraham Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.