Then something with your label is not right.
Qt Code:
  1. QDateTime dias;
  2. dias.setTime_t(1003030900);
  3. QLabel l;
  4. l.setText(dias.toString("yyMMddhhmm"));
  5. l.show();
To copy to clipboard, switch view to plain text mode 
works perfect. See if dias is valid where you want to use it. It seems to me your code confuses allocation on the heap and stack. Show us a little more code.