I 've got some TypoScript like that:
lib.kalenderwoche = COA
lib.kalenderwoche {
10 = TEXT
10 {
#data = date: U
#strftime = %d.%m.%Y
#noTrimWrap = || - |
}
20 = TEXT
20 {
data = date:U + (7*86400)
prioriCalc = 1
strftime = %W
wrap = |
}
}
But how i calculate the first monday of next week?
答案 0 :(得分:0)
正如Jost所述,它将与strtotime stdWrap一起使用。
lib.kalenderwoche = COA
lib.kalenderwoche {
10 = TEXT
10 {
data = date:U
strtotime = next Monday
strftime = %d.%m.%Y
}
}