eventi grafica

This commit is contained in:
Surya Paolo
2023-04-17 02:05:03 +02:00
parent 3cf4562285
commit 16e3dcc9d0
6 changed files with 114 additions and 17 deletions

View File

@@ -3043,6 +3043,16 @@ export const tools = {
if (mytimestamp) return date.formatDate(mytimestamp, 'DD/MM/YYYY')
return ''
},
getstrMonth(mytimestamp: Date | number | string | undefined) {
// console.log('getstrDate', mytimestamp)
if (mytimestamp) return date.formatDate(mytimestamp, 'MMMM YYYY')
return ''
},
getstrDay(mytimestamp: Date | number | string | undefined) {
if (mytimestamp) return date.formatDate(mytimestamp, 'D')
return ''
},
getstrDateYY(mytimestamp: Date | number | string | undefined) {
// console.log('getstrDate', mytimestamp)