This article explains how to prevent WhatsApp from showing the last time you used the service by adjusting the Last Seen setting. Here's how to change this setting on both iPhone and Android.
How to Hide Online Status and Last Seen on WhatsApp (2022)
It’s easy to turn off the last seen setting on your iPhone. Here’s how to quickly turn this setting off and on.
Open WhatsApp on your iPhone and tap the settings icon at the bottom of the screen.
In Settings, tap Account > Privacy.