Files
2026-06-02 23:24:21 +02:00

629 B

description
description
Afficher l'heure actuelle en Pakistan Standard Time (PKT, UTC+5)

Commande Time

Afficher la date et l'heure actuelles en Pakistan Standard Time (PKT, UTC+5).

Instructions

  1. Lance la commande bash suivante pour obtenir l'heure actuelle en PKT :

    TZ='Asia/Karachi' date '+%Y-%m-%d %H:%M:%S %Z'
    
  2. Affiche le résultat à l'utilisateur dans ce format :

    Current Time in Pakistan (PKT): YYYY-MM-DD HH:MM:SS PKT
    

Exigences

  • Toujours utiliser la timezone Asia/Karachi (UTC+5)
  • Utiliser le format 24 heures
  • Inclure la date avec l'heure
  • Garder la sortie concise