Not sure if this is a bug or wanted behaviour:
getrawtransaction rpc:
" \"time\" : ttt, (numeric) The transaction time in seconds since epoch (Jan 1 1970 GMT)\n"
" \"blocktime\" : ttt (numeric) The block time in seconds since epoch (Jan 1 1970 GMT)\n"
TxToJSON:
entry.push_back(Pair("time", pindex->GetBlockTime()));
entry.push_back(Pair("blocktime", pindex->GetBlockTime()));
If you just read the help you would think time is the time the transaction entered the mempool (as show in the getmempoolentry rpc).