Skip to content

Instantly share code, notes, and snippets.

@RatserX
RatserX / centos-rhel-nginx-aspnetcore.md
Last active August 12, 2023 13:36
Setup NGINX and ASP.NET Core on CentOS/RHEL for hosting sites on different ports and ASP.NET Core versions
// Originally from: https://community.powerbi.com/t5/Community-Blog/Aggregating-Duration-Time/ba-p/22486
Duration =
// Duration formatting
// * @konstatinos 1/25/2016
// * Given a number of seconds, returns a format of "hh:mm:ss"
//
// We start with a duration in number of seconds
VAR Duration = [Change this value to the name of your column that contains your seconds value]
// There are 3,600 seconds in an hour
VAR Hours =