create. Copying existing date [3.3.0]

^date::create[date object]

The constructor copy an existing object of class
date.

Example
$now[^date::now[]]
$dt[^date::create[$now]]
^dt.roll[month](-1)

The example creates a date to come a month before the current.


Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 04.07.2008