Greg
01/30/2025, 12:20 PMCeligo AI
01/30/2025, 12:20 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To convert a datetime field to your timezone using SuiteScript, you can use the
N/formatjavascript
var format = require('N/format');
var dateInUserTimezone = format.format({
    value: new Date(),
    type: format.Type.DATETIME
});new Date()format.formatCeligo AI
01/30/2025, 12:20 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833776414
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833291829
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829039
Celigo AI
01/30/2025, 12:20 PM