how to get the format time like "2005-06-20"

From: Ethan Tu
Date: Mon Jun 20 2005 - 03:43:21 EST


In the kernel, how to get the format time like "2005-06-20" ?thanks!
--
I am real me!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/