boundless-notebook-34527
03/03/2023, 4:00 AMkind-carpenter-27609
03/03/2023, 5:21 AMboundless-notebook-34527
03/03/2023, 5:22 AMkind-carpenter-27609
03/03/2023, 5:23 AMboundless-notebook-34527
03/03/2023, 5:25 AMboundless-notebook-34527
03/03/2023, 5:26 AMboundless-notebook-34527
03/03/2023, 5:27 AMkind-carpenter-27609
03/03/2023, 6:01 AMboundless-notebook-34527
03/03/2023, 6:08 AMkind-carpenter-27609
03/06/2023, 5:33 AMkind-carpenter-27609
03/10/2023, 8:16 AMkind-carpenter-27609
03/10/2023, 8:18 AMkind-carpenter-27609
03/10/2023, 8:19 AMboundless-notebook-34527
03/13/2023, 2:43 AMcalm-yak-10773
03/13/2023, 10:19 AMkind-carpenter-27609
03/13/2023, 1:28 PMcalm-yak-10773
03/14/2023, 12:17 PMconst buddhistTimestamp = "2566-03-09T03:26:19.873Z";
const [buddhistYear, month, day, hour, minute, second] = buddhistTimestamp.split(/[^0-9]/);
const gregorianYear = parseInt(buddhistYear) - 543;
const date = new Date(Date.UTC(gregorianYear, month - 1, day, hour, minute, second));
const isoTimestamp = date.toISOString();
console.log(isoTimestamp); // Output: 2023-03-09T03:26:19.873Z
FYI: We are also internally discussing about how to provide a solution for this issue.kind-carpenter-27609
03/23/2023, 5:35 AMboundless-notebook-34527
03/23/2023, 5:53 AMkind-carpenter-27609
03/23/2023, 5:56 AMkind-carpenter-27609
03/29/2023, 2:55 AMboundless-notebook-34527
04/05/2023, 3:28 AMkind-carpenter-27609
04/05/2023, 8:10 AMcalm-yak-10773
04/18/2023, 8:42 AMboundless-notebook-34527
04/20/2023, 8:54 AM