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


Groups > comp.databases.filemaker > #2466

Re: Problem With Dates in a Script

From Helpful Harry <HelpfulHarry@BusyWorking.com>
Newsgroups comp.databases.filemaker
Subject Re: Problem With Dates in a Script
Date 2015-11-04 08:57 +1300
Organization Aioe.org NNTP Server
Message-ID <041120150857094318%HelpfulHarry@BusyWorking.com> (permalink)
References <1mdacbh.13bn8z3s523f7N%csampson@inetworld.net> <1mdb3n0.clubbf16ua01rN%clkaufmann@gmx.ch>

Show all headers | 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