Skip to content

Commit

Permalink
Update datediff.json
Browse files Browse the repository at this point in the history
missing ; for cf2018
  • Loading branch information
penhorwood authored Jun 23, 2024
1 parent db0785a commit 9efcd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/en/datediff.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{
"title": "How old are they?",
"description": "Calculates a persons age based on a variable birthDate which contains a date. Uses the now function to get current date.",
"code": "<cfscript>\nbirthDate = createDate( 1972, 5, 20 );\nage = dateDiff(\"yyyy\", birthDate, now())\nwriteoutput( age );\n</cfscript>"
"code": "<cfscript>\nbirthDate = createDate( 1972, 5, 20 );\nage = dateDiff(\"yyyy\", birthDate, now());\nwriteoutput( age );\n</cfscript>"
},
{
"title": "dateDiff member function",
Expand Down

0 comments on commit 9efcd8a

Please sign in to comment.