GetRawTransaction not returning time
getrawtransaction does not return the time, because it only gives you the raw transaction itself, which does not include a timestamp.

However, you can use the getmempoolentry RPC to get mempool metadata about a transaction, which includes the time at which time it entered the mempool.