Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2151

Re: Date variable help...

$
0
0

1) I made another variable to test:

 

test=FormatDate(RelativeDate(CurrentDate();-1);"MM/dd/yyyy 12:00:00 a")

 

This gives me 01/17/2016 12:00:00 PM  {correct}

 

2) Then:

new=If([Bill Date] > [test]) then "NEW" else "Old"

this gives data invalid for [test]

 

3)Finally

date=ToDate([test];"")

results in 1/17/16

 

Why does the toDate not format properly?

 

Any help is much appreciated

 

Thanks


Viewing all articles
Browse latest Browse all 2151

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>