Skip to content

Commit

Permalink
#10 - removed just
Browse files Browse the repository at this point in the history
  • Loading branch information
mhenke committed Apr 25, 2011
1 parent 1c886b4 commit 0f03968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfml100mins.textile
Expand Up @@ -549,7 +549,7 @@ message = "Happy " & today & "!";
</table>


In the first line we setup a variable to hold the day of the week. Then we'll printed the string _Happy_ combined with the value of the variable @today@ and the string _!_. You might be thinking, "What was the point of that since we still just wrote _Saturday_ in the first line?" Ok, well, if you were writing a real program you'd use CFMLs built-in date instructions like this:
In the first line we setup a variable to hold the day of the week. Then we'll printed the string _Happy_ combined with the value of the variable @today@ and the string _!_. You might be thinking, "What was the point of that since we still wrote _Saturday_ in the first line?" Ok, well, if you were writing a real program you'd use CFMLs built-in date instructions like this:

@today = DayOfWeek(Now());@

Expand Down

0 comments on commit 0f03968

Please sign in to comment.