You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
315 B
15 lines
315 B
#!/usr/bin/env kjscmd
|
|
|
|
var realDate = new Date();
|
|
var dtEdit = new TQDateTimeEdit(this);
|
|
dtEdit.dateTime = realDate;
|
|
|
|
var dt = dtEdit.dateTime;
|
|
if( dt.toString() == realDate.toString() )
|
|
println( "Times match" );
|
|
else
|
|
{
|
|
println( "Time got " + dt.toString() );
|
|
println( "Time wanted " + realDate.toString() );
|
|
}
|