What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-11-13 14:17:11
excel office scripts documentation
async function main(context: Excel.RequestContext) { // Get the cells at A1 and B1. let dateRange = context.workbook.worksheets.getActiveWorksheet().getRange("A1"); let timeRange = context.workbook.worksheets.getActiveWorksheet().getRange(... Add solution -
Javascript 2021-09-04 07:36:02
typescript/JavaScript time ago from datetime
/** * A function that converts date object to human readable time ago * @param {Date} date * @returns {string} * @author [YogPanjarale](https://github.com/YogPanjarale) */ export function dateToTimeAgo(date: Date): string { const now = new Date(Dat... Add solution