แก้รายงาน ก.พ.7
This commit is contained in:
parent
538ec8f8a1
commit
16ca14fc51
2 changed files with 26 additions and 16 deletions
|
|
@ -99,6 +99,16 @@ class Extension {
|
|||
yy
|
||||
);
|
||||
}
|
||||
public static ToThaiFullDate2(value: Date) {
|
||||
let yy = value.getFullYear() < 2400 ? value.getFullYear() + 543 : value.getFullYear();
|
||||
return (
|
||||
value.getDate() +
|
||||
" " +
|
||||
Extension.ToThaiMonth(value.getMonth() + 1) +
|
||||
" " +
|
||||
yy
|
||||
);
|
||||
}
|
||||
|
||||
public static ToThaiShortDate(value: Date) {
|
||||
let yy = value.getFullYear() < 2400 ? value.getFullYear() + 543 : value.getFullYear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue