C#da siz Unix vaqtidagi hozirgi vaqtni (ya'ni POSIX yoki Epoch vaqtini) DateTimeOffset sinfi va ToUnixTimeSeconds () usuli yordamida olishingiz mumkin. Kod quyidagicha bo'ladi: DateTimeOffset now = DateTimeOffset.UtcNow; // hozirgi vaqtni UTC long unixTimeSeconds = now.ToUnixTimeSeconds () ga aylantiradi; // hozirgi vaqtni Unix vaqtidan soniyalarga aylantiradi
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence