~studentersamfundet-web/studentersamfundet-web/web

« back to all changes in this revision

Viewing changes to kampanje/kroplingen.php

  • Committer: oyvinbak
  • Date: 2011-02-21 22:48:49 UTC
  • mfrom: (226.2.1 mybranch)
  • Revision ID: oyvinbak@erleken.com-20110221224849-limm9tkxkdvmugbe
fixed time

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
$month = round(strftime("%m", $tid));
25
25
$day = round(strftime("%e", $tid));
26
26
 
27
 
$tid = strftime("%H", $tid);
 
27
$tid = strftime("%H", $tid) - 1;
28
28
 
29
29
$ukedag = strftime("%w", $tid);
30
30
$ukedager = array('søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag');