valid check for date time and command
xx