DateTime

Sample

  "measures":{
  	"datetime":{
  		"name":"datetime1",
  		"title":"Clock",
  		"is12hr":true,
  	}
  }

download sample widget from here : https://www.deviantart.com/rainysoft/art/Simple-DigClock-762394209

Information

  • Measure Type: datetime

  • Description: "datetime" measure used to display current date and time information

Propertys

name

default name is "datetime1", you can uses this name in index.html file to get this measure data. for excample <div id="widget"> {{ datetime1.time }} </div>

title

the title text will display at widget setting window tab caption and right-click-menu

is12hr

12-hour clock or 24-hour clock,for excample 11:00 or 23:00. when is12hr=false, the AMPM will be blank

Data Tags

timeZoneName 
timeZoneGMT 
dateTimeShort 
dateTime 
dateTimeCn
time 
timeSec0 
timeSec 
time0 
hour 
hourPercent 
hourPercent24
hour12Per60
hour0
hourTens
hourDigits
hourCn
minute
minutePercent
minuteCn
minute0
minuteTens
minuteDigits
second
secondPercent
secondCn
second0
secondTens
secondDigits
millisecond0
millisecond
upTime
upTimeCn
upTimeD
upTimeH
upTimeM
upTimeS
dayOrNight
dn
AMPM
AP01
AMPMCn
AMPM
AP
date
dateShort
dateCn
year
yearShort
yearCn
yearLunar
lunarAnimal
month
monthPercent
month0
monthTxtShort
monthTxt
monthLunar
monthCn
monthDayCn
monthEnShort
monthEn
day
dayPercent
dayInMonthPercent
daysInMonth
dayOfTheYear
day0
dayCn
dayLunar
week
weekPercent
weekShort
weekOfYear
weekNumInt
weekNumInt2
weekNum2
weekNum
weekCn
weekEnShort
weekEn
constellation

Last updated