daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     <mt:Ignore>NEXT 9 LINES TO GENERATE ST/ND/RD/TH SUFFIX FOR DATE</mt:Ignore>
  2.     <$mt:CommentDate format="%d" setvar="day"$>
  3.     <mt:If name="day" eq="01"><$mt:Var name="day_suffix" value="st"$>
  4.     <mt:Else name="day" eq="02"><$mt:Var name="day_suffix" value="nd"$>
  5.     <mt:Else name="day" eq="03"><$mt:Var name="day_suffix" value="rd"$>
  6.     <mt:Else name="day" eq="21"><$mt:Var name="day_suffix" value="st"$>
  7.     <mt:Else name="day" eq="22"><$mt:Var name="day_suffix" value="nd"$>
  8.     <mt:Else name="day" eq="23"><$mt:Var name="day_suffix" value="rd"$>
  9.     <mt:Else name="day" eq="31"><$mt:Var name="day_suffix" value="st"$>
  10.     <mt:Else><$mt:Var name="day_suffix" value="th"$></mt:If>
  11.     <mt:Ignore>PREVIOUS 9 LINES TO GENERATE ST/ND/RD/TH SUFFIX FOR DATE</mt:Ignore>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top