Table of Contents

Method FormatSeconds

Namespace
Oscova.Agents.Persistence
Assembly
Oscova.Agents.dll

FormatSeconds(DateTimeOffset)

Formats a timestamp using UTC second precision. Use this for stable task metadata and schedule values where sub-second fidelity is unnecessary and the on-disk value should stay compact and easy to read.

public static string FormatSeconds(DateTimeOffset value)

Parameters

value DateTimeOffset

Returns

string