Path: csiph.com!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Helpful Harry Newsgroups: comp.databases.filemaker Subject: Re: Problem With Dates in a Script Date: Wed, 04 Nov 2015 08:57:09 +1300 Organization: Aioe.org NNTP Server Lines: 17 Message-ID: <041120150857094318%HelpfulHarry@BusyWorking.com> References: <1mdacbh.13bn8z3s523f7N%csampson@inetworld.net> <1mdb3n0.clubbf16ua01rN%clkaufmann@gmx.ch> NNTP-Posting-Host: cXjrl+SAH/wX+VsEEVd/pQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Thoth/1.8.4 (Carbon/OS X) X-Notice: Filtered by postfilter v. 0.8.2 X-Face: vIZzK[X\z-._]-_:U?l@cBtwg<{a>ggn\mH}Vs>38E,#R%7h%U0'=4;1Q=erO %[T#a{YJfGvAbWmE@f_h], Christoph Kaufmann wrote: > Charles H. Sampson wrote: > > > > Set Variable [$TDate; Value:Get(ScriptParameter)] > > Try GetAsDate ( Get ( ScriptParameter ) ) Yep, the text-date will need to be converted into a proper date-date before it can be used with the Date functions (Day, Month, Year) or compared against other proper date-dates. If the GetAsDate function doesn't work, you'll have to do the conversion quasi-manually within the script by parsing the text-date using the "/" character as the delimiter for each part. Helpful Harry :o)