[Glass] How can I test this

James Foster smalltalk at jgfoster.net
Mon Feb 21 09:50:41 PST 2022


| date1 date2 |
date1 := Date newDay: 1 monthNumber: 2 year: 2022.
date2 := date1 addMonths: 2.
Date today <= date2.

> On Feb 21, 2022, at 5:35 AM, Roelof Wobben via Glass <glass at lists.gemtalksystems.com> wrote:
> 
> Hello, 
> 
> IM a beginner in smalltalk and try to make a app with seaside.
> Now I wonder how I can do this 
> 
> I want to make a if then which checks if the current-date and a given end-date is not more then 2 months difference.
> 
> 
> Thanks,
> 
> Roelof
> 
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com <mailto:Glass at lists.gemtalksystems.com>
> https://lists.gemtalksystems.com/mailman/listinfo/glass <https://lists.gemtalksystems.com/mailman/listinfo/glass>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20220221/d9cdf62c/attachment.htm>


More information about the Glass mailing list