fhem.pl: add $today for use in Perl-Commands (Forum #76444)

git-svn-id: https://svn.fhem.de/fhem/trunk@15037 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2017-09-10 08:52:14 +00:00
parent 00944325f2
commit 0bae73609b
3 changed files with 5 additions and 2 deletions

View File

@@ -1667,7 +1667,8 @@ The following local attributes are used by a wider range of devices:
$mday, $month, $year, $wday, $yday, $isdst are available in the perl
oneliners (see also perldoc -f localtime). Exceptions: $month is in the
range of 1 to 12, and $year is corrected by 1900 (as I would expect).
Additionally the variable $hms contains the time in the HH:MM:SS format.
Additionally the variable $hms contains the time in the HH:MM:SS format and
$today the current date in YYYY-MM-DD format.
<br>
Additionally the variabe $we is 1 if it is weekend (i.e $wday == 0 or
$wday == 6), and 0 otherwise. If the <a href="#holiday2we">holida2we</a>