How to get the current system time and date?

is there any mel command could get the current system time and date, in nt.

The only way to do this through MEL is with a system call. On almost all OS's this is done with the date command;)

--g

i hope maya 6 has a date command...

The MEL commands are :

system ("date /t");
system ("time");