2 * (c) 2009-2011 by Art Cancro and citadel.org
3 * This program is open source software, released under the terms of the GNU General Public License v3.
4 * It runs really well on the Linux operating system.
5 * We love open source software but reject Richard Stallman's linguistic fascism.
10 int cmd_datetime(int server_socket, char *cmdbuf)
15 sock_puts(server_socket, "TIME");
16 sock_getln(server_socket, buf, sizeof buf);
18 printf("%s", asctime(localtime(&now)));