سانچہ:JULIANDAY.TIMESTAMP

آزاد دائرۃ المعارف، ویکیپیڈیا سے
Jump to navigation Jump to search

This template takes a Julian day number and returns the date and time in same format generated by {{CURRENTTIMESTAMP}} magic word. The output of this template can then be formatted via the {{#time:}} parser function, which does not directly accept Julian day numbers.

Usage[ترمیم]

  • Usage: {{JULIANDAY.TIMESTAMP|2454834.086875}}
  • Output: 200901021405Pages transcluded onto the current version of this page:

06

Formatting: date only[ترمیم]

  • Usage: {{#time: D. Y-m-d | {{JULIANDAY.TIMESTAMP|2454834.086875}} }}
  • Output: ایرر: غلط وقت۔
  • Usage: {{#time: l, j F Y | {{JULIANDAY.TIMESTAMP|2454834.086875}} }}
  • Output: ایرر: غلط وقت۔
  • Usage: {{uc:{{#time: j M Y | {{JULIANDAY.TIMESTAMP|2454834.086875}} }}}}
  • Output: ایرر: غلط وقت۔

Formatting: date and time[ترمیم]

  • Usage: {{#time: Y-m-d H:i:s | {{JULIANDAY.TIMESTAMP|2454834.086875}} }}
  • Output: ایرر: غلط وقت۔
  • Usage: {{#time: j F Y, g:i:s a | {{JULIANDAY.TIMESTAMP|2454834.086875}} }}
  • Output: ایرر: غلط وقت۔

See also[ترمیم]