I guess it just affirms the point that date constants are too ambiguous and not 
worth your while.

$dateA:=!2016-12-15!
$yearA:=Year of($dateA)  //2016

$dateB:=!16-12-15!
$yearB:=Year of($dateB)  //16?
ASSERT($dateA=$dateB)

> 2016/11/18 7:23、Dennis, Neil <[email protected]> のメール:
>
> The 4D manual says this about dates:
>        Date: 1/1/100 to 12/31/32767
>
> So what is this date constant?
>        $d:=!16-12-15!
>
> FYI - It is not the same as !2016-12-15!




宮古 啓介
セールス・エンジニア

株式会社フォーディー・ジャパン
〒150-0043
東京都渋谷区道玄坂1-10-2 渋谷THビル6F
Tel: 03-6427-8441
Fax: 03-6427-8449

[email protected]
www.4D.com/JP

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to