<?php
require_once 'CzechCourse.php'
$courses = new CzechCourse(StrToTime('-3 days'));
$course = $courses->getCourse('EUR');
echo "Course from ".Date("j.n.Y", $course->getTime()).": ";
echo $course->getAmount(). "x ";
echo $course->getCurrency(). " ";
echo " = ";
echo $course->getCourse(). " ";
echo " CZK ";
echo "(".$course->getPercentDifferenceAsString().")";
?>
|