Topic Options
#37362 - 06/14/13 08:18 AM Row Format Date Fields
MikeS Offline
Adagio Specialist

Registered: 10/25/10
Posts: 337
Loc: Concord, On
I'm trying to create a row format that displays all results in a grid before and including May 31, 2013 in red.

IF(
{Inv Date} <= 31/05/13,
"PastelRedNormal" ,
""
)

I'm doing something wrong with the date but I can't figure it out. Help!

Thanks
_________________________
Mike Smith
Viktorian Sheet Metal Mfg Inc

Top
#37363 - 06/14/13 08:33 AM Re: Row Format Date Fields [Re: MikeS]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11518
Loc: Vancouver, BC Canada
Hi Mike,

If you're ever unsure as to formula syntax, check out the help file and the section on formulas. This is in the Date/Time section:
---
DATE(Y, M, D) or DATE(YYYY, M, D)

Description
This function returns the date value corresponding to year Y+1900, month M, and date D. Y must be in the range 0 to 199 (representing 1900-2099). It is less confusing if you use the YYYY form for the year. In this case the YYYY must be a value between 1900 and 2099

Parameters
Y year as a value between 0 and 199
YYYY year as a value between 1900 and 2099
M month
D day
----
Assumig you want May 31, 2013, then the syntax is DATE(2013,5,31)
_________________________
Regards,
Softrak Tech Support

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 98 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14446 Topics
70591 Posts

Max Online: 432 @ 01/20/25 10:17 PM
April
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30