Skip to content

Instantly share code, notes, and snippets.

@steveosoule
Created November 27, 2012 22:24
Show Gist options
  • Save steveosoule/4157571 to your computer and use it in GitHub Desktop.
Save steveosoule/4157571 to your computer and use it in GitHub Desktop.
Miva Time Sensitive Content - mktime
<mvt:item name="toolkit" param="set_time_zone|our_time|-4" />
<mvt:item name="toolkit" param="time_t_year|year|our_time" />
<mvt:item name="toolkit" param="time_t_month|month|our_time" />
<mvt:item name="toolkit" param="time_t_dayofmonth|dayofmonth|our_time" />
<mvt:item name="toolkit" param="time_t_hour|hours|our_time" />
<mvt:item name="toolkit" param="time_t_minute|minutes|our_time" />
<mvt:item name="toolkit" param="time_t_second|seconds|our_time" />
<mvt:item name="toolkit" param="mktime_t|currenttime|year|month|dayofmonth|hours|minutes|seconds|our_time" />
<mvt:item name="toolkit" param="sassign|promoEndTime|1354348801"/> <mvt:comment> http://www.epochconverter.com/ </mvt:comment>
<mvt:if expr="g.currenttime LT g.promoEndTime">
<!-- Time Sensitive Content -->
</mvt:if>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment