This commit is contained in:
Nasser Hekmati committed 2017-05-26 19:42:12 +04:30
commit 03f2ec64aa
2 files changed
+5 -4

No files matched your search

+4 -4
View File
@@ -41,10 +41,10 @@ use \Verta as Verta ;`
// default timestamp is now // default timestamp is now
$dt = new Verta(); $dt = new Verta();
// OR // OR
$dt = Verta::now(); $dt = Verta::now(); //1396-02-02 15:32:08
return Verta::today(); //1396-03-02 00:00:00 $dt = Verta::today(); //1396-03-02 00:00:00
return Verta::tomorrow(); // 1396-03-03 00:00:00 $dt = Verta::tomorrow(); // 1396-03-03 00:00:00
return Verta::yesterday(); // 1396-03-01 00:00:00 $dt = Verta::yesterday(); // 1396-03-01 00:00:00
// pass string datetime // pass string datetime
$dt = new Verta('2016-12-27 14:12:32'); $dt = new Verta('2016-12-27 14:12:32');
+1
View File
@@ -0,0 +1 @@
theme: jekyll-theme-cayman