[Qt-interest] can't get Qdate
Dan White
ygor at comcast.net
Thu Mar 4 14:32:59 CET 2010
What is the type and value of lineaHora ?
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
----- mierdatutis mi <mmm286 at gmail.com> wrote:
> Hi.
>
> I do:
>
> QString pepelu = lineaHora.left(6)+lineaHora.right(5);
> QDateTime dias = QDateTime::fromString(pepelu,"yyMMddhhmm");
>
> it gives me: 1003030900
>
> I do:
>
> hora->setText("Timess: " + dias.toString("yyMMddhhmm"));
>
> But doesn't show me nothing in my label
>
> Any help?
> Many thanks and sorry for my english!
More information about the Qt-interest-old
mailing list