IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#50028 - 11/05/14 11:03 AM Date Logic Processing
KP_ABD Offline
OL Newbie

Registered: 12/12/13
Posts: 25
Is there a way to run logic on a Date field in Pres?

For example, if date is before 01/01/2014 do Subroutine_A, if date is on or after 01/01/2014 do Subroutine_B

Top
#50173 - 11/20/14 12:07 PM Re: Date Logic Processing [Re: KP_ABD]
KP_ABD Offline
OL Newbie

Registered: 12/12/13
Posts: 25
Well, I've found my answer already, either some improvement was made to Pres IDE between versions 4.7.1 and 6.3.0 or Window's default regional settings screws up how DATE are read and logic applied to DATE fields.

Window's default does not include leading zeros. Since the last time I tried logical operators on DATE fields, and now, I've done two things:
Upgraded version of pres.
changed windows regional settings to include leading zeros in date fields.

One or the other, or both, has solved my issue, and I am now able to properly use logical operators on DATE fields and get the results I expect.

Thank you for any time spent on this.

Top