hi, John:

try AP:

std::cout << "Date: " << WDateTime::fromString("6/14/2011 4:07pm",
WString::fromUTF8("M/dd/yyyy h:mmAP")).toString() << std::endl;

BR
Zhimin


2011/6/15 John Robson <[email protected]>

> Hi...
>
> How to convert to WDateTime?
>
> eg.: 6/14/2011 4:07pm
>
> std::cout << "Date: " << WDateTime::fromString("6/14/2011 4:07pm",
> WString::fromUTF8("M/dd/yyyy h:mmtt")).toString() << std::endl;
>
> Date: Null   :(
>
> http://www.geekzilla.co.uk/View00FF7904-B510-468C-A2C8-F859AA20581F.htm
>
> Tks,
> John
>
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>



-- 
我的博客:http://hi.baidu.com/zhmsong;
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to