From MythTV Official Wiki
Revision as of 06:11, 26 December 2009 by Robbak (talk | contribs) (Usage: Remind user to set TZ env. variable, as this is no longer done by default.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Important.png Note: The correct title of this article is dvbdate. It appears incorrectly here due to technical restrictions.

dvbdate appears to be a utility for reading the date/time from your dvb card.

Since we are obviously TV lovers, what could be a more useful means of measuring time?

In addition, since an internet-free MythTV box is feasible with DVB (because the EPG data can come from the DVB stream itself), dvbdate provides a useful network-free alternative to NTP.


dvbdate appears to work even when your cards are tied up doing other things. It only reads the date from /dev/dvb/adapter0

dvbdate will report the date/time to the command line when used with no arguments.

To set the system clock

dvbdate --set

If your system clock is way off, you might want to force it.

dvbdate --set --force

Set dvbdate to run in your crontab every hour or so and you have a system that keeps time with the TV ; perfect for MythTV users.


You must set the TZ environment variable to your timezone difference for dvbdate to correctly set the time.

TZ=+10:00 dvbdate --set