Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022



in.daytimed - UDP or TCP daytime protocol service daemon






The in.daytimed service provides the server-side of the daytime protocol. This protocol is used for debugging and is available on both TCP and UDP transports, through port 13.

The in.daytimed service is an inetd(8) delegated smf(7) service. The in.daytimed detects which transport is requested by examining the socket it is passed by the inetd daemon.

TCP-based service

Once a connection is established, the in.daytimed generates the current date and time in ctime(3C) format as 7-bit ASCII and sends it through the connection. The server then closes the connection. Any data received from the client side of the connection is discarded.

UDP-based service

The in.daytimed listens for UDP datagrams. When a datagram is received, the server generates the current date and time in ctime(3C) format as 7-bit ASCII and inserts it in a UDP datagram sent in response to the client's request. Any received data is ignored.


See attributes(7) for descriptions of the following attributes:

Interface Stability

See Also

attributes(7), smf(7), in.timed(8), inetadm(8), inetd(8)

Postel, J. RFC 867, Daytime Protocol. Network Working Group. May 1983. https://tools.ietf.org/html/rfc867


The in.daytimed service is managed by the service management facility, smf(7), under the service identifier:


Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(8). Responsibility for initiating and restarting this service is delegated to inetd(8). Use inetadm(8) to make configuration changes and to view configuration information for this service. The service's status can be queried using the svcs(1) command.


The in.daytimed program and the svc:/internet/daytime:default service were added in the Solaris 10 3/05 release. Prior to that, support for the daytime service was provided as a builtin part of inetd(8) since the initial release of Solaris.

Support for IPv6 was added in Solaris 8.

The daytime service was enabled by default in releases up through Solaris 9, but has been disabled by default since the Solaris 10 3/05 release.