On Android, is there a way to get the current time of the device

Hi, I need to get the time of the device when I execute a mobile tap in my script to use it after to do a verification on a test. Is there a command for this? Since my device might not be synchronized with the PC that is running the automation…