Skip to content

Commit

Permalink
docs: add more sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Mar 27, 2024
1 parent 40c5651 commit 9b7fe4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion user_guide_src/source/libraries/time/001.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

use CodeIgniter\I18n\Time;

$myTime = new Time('+3 week');
$myTime = new Time('2024-01-01');
$myTime = new Time('2024-01-01 12:00:00');
$myTime = new Time('now');
$myTime = new Time('+3 week');

0 comments on commit 9b7fe4e

Please sign in to comment.