Hello, You can get current time as WString using WDateTime::currentDateTime().toString(). Then set it to WLineEdit's content using WLineEdit::setText(). After user edited the date and time, get it from WLineEdit using WLineEdit::text(). To convert string to WDateTime use WDateTime::fromString().
С уважением, Нагаев Борис On Mon, Aug 19, 2013 at 6:55 PM, amitoj singh <amitojsing...@gmail.com> wrote: > I am currently working on Wt time module is there any way to edit time > for example I want 1 line edit Which show the current time and a user > can edit the time. Is there any way? > > -- > "Nothing is interesting, If you are not interested" > amitoj singh > github.com/amitojsingh > amitojsworld.wordpress.com > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest