Changeset 31 for trunk/Global.php


Ignore:
Timestamp:
Dec 30, 2018, 7:37:55 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Store date of meet items including time. For items without specified time, just use current time (time of import).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Global.php

    r4 r31  
    55  return(date('j.n.Y', $Time));
    66}
     7
     8function HumanTime($Time)
     9{
     10  return(date('H:i:s', $Time));
     11}
     12
     13function HumanDateTime($Time)
     14{
     15  $Output = HumanDate($Time);
     16  $Time = HumanTime($Time);
     17  if ($Time != '00:00:00') $Output .= ' '.$Time;
     18  return($Output);
     19}
     20
    721function Link2($URL)
    822{
Note: See TracChangeset for help on using the changeset viewer.