Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.filemaker > #2466

Re: Problem With Dates in a Script

Path csiph.com!news.mixmin.net!aioe.org!.POSTED!not-for-mail
From Helpful Harry <HelpfulHarry@BusyWorking.com>
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> (permalink)
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]<rQ30+q;vqA^FUVx%\9{@r{gt${p^.L~bemFF@WY$r9fhuA F"1)$0+MgN+j8OO<SAec%$P;!M4Aj/kVitK5\xKmed-/3$2LiT1nI!-lKjt0B!qP_E{V ja+\#+[_uq8",IkoIF3M0}}qCD(&
Xref csiph.com comp.databases.filemaker:2466

Show key headers only | View raw


In article <1mdb3n0.clubbf16ua01rN%clkaufmann@gmx.ch>, Christoph
Kaufmann <clkaufmann@gmx.ch> wrote:
> Charles H. Sampson <csampson@inetworld.net> 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)

Back to comp.databases.filemaker | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem With Dates in a Script csampson@inetworld.net (Charles H. Sampson) - 2015-11-03 01:05 -0800
  Re: Problem With Dates in a Script clkaufmann@gmx.ch (Christoph Kaufmann) - 2015-11-03 10:26 +0100
    Re: Problem With Dates in a Script Helpful Harry <HelpfulHarry@BusyWorking.com> - 2015-11-04 08:57 +1300
      Re: Problem With Dates in a Script clkaufmann@gmx.ch (Christoph Kaufmann) - 2015-11-03 22:15 +0100
        Re: Problem With Dates in a Script csampson@inetworld.net (Charles H. Sampson) - 2015-11-03 20:23 -0800
          Re: Problem With Dates in a Script Helpful Harry <HelpfulHarry@BusyWorking.com> - 2015-11-04 18:37 +1300
    Re: Problem With Dates in a Script csampson@inetworld.net (Charles H. Sampson) - 2015-11-03 18:58 -0800
  Re: Problem With Dates in a Script (Solved) csampson@inetworld.net (Charles H. Sampson) - 2015-11-04 01:23 -0800

csiph-web