This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdump var="#getMetaData({foo:"bar"})#"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
q = new query(); | |
q= now(); | |
dump(getMetadata(q)); | |
</cfscript> | |
<cfdump var="#getMetaData({foo:"bar"})#"> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
q = new query(); | |
q= now()l | |
dump(getMetadata(q)); | |
</cfscript> | |
<cfdump var="#getMetaData({foo:"bar"})#"> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
entry = { | |
"time":18 | |
,"dow":[false,false,true,false,false,false,false] | |
}; | |
entry2 = { | |
"time":19 | |
,"dow":[false,false,true,false,false,false,false] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
entry = { | |
"time":18 | |
,"dow":[false,false,true,false,false,false,false] | |
}; | |
function checkSend(obj) { | |
if (obj.time = timeFormat(now(), 'HH') && obj.dow[dayOfWeek(now())]) { | |
WriteOutput('true') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
a = ['01','13','09','10','11','17','21']; | |
writeOutput(timeFormat(now(), 'HH')&'<br><br>'); | |
writeOutput(dayOfWeek(now())&'<br><br>'); | |
for(i=1;i <= arrayLen(a); i++){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
a = ['01','13','09','10','11','17','21']; | |
writeOutput(timeFormat(now(), 'HH')&'<br><br>'); | |
for(i=1;i <= arrayLen(a); i++){ | |
_now = timeFormat(now(), 'HH'); | |
if(_now == a[i]){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdump var="#getMetaData({foo:"bar"})#"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset mydate = "26 janvier.1965"> | |
<cfset mydate = "1 september 1987"> | |
<cfset mydate = "1 er novembre 1988"> | |
<cfset mydate = "1er novembre 1988"> | |
<cfset matches = REMatch("(?i)^(\d{1,2}\.?)\W+([a-zàâäéèêëîïôöùûüçœ]+)\W+(\d{4})$", mydate)> | |
<cfset matches = REMatch("(?i)^(\d{1,2})\s*(?:e?r)?\s*([a-zàâäéèêëîïôöùûüçœ]+)\W+(\d{4})$", mydate)> | |
<cfdump var=#matches#> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!---VERSIONE TAG---> | |
<cfset listaVoti = "28,15,22,30,17,10,25,18"> | |
<cfset sum = 0> | |
<cfloop item="voto" list="#listaVoti#"> | |
<cfset sum += #voto#> | |
</cfloop> | |
<cfset avg = sum/(listLen(listaVoti))> | |
<cfset sortList = listSort(listaVoti, "Numeric", "desc", ",")> |
NewerOlder