RicardoSantos

FunctionDatestring

RicardoSantos Wizard ที่อัปเดต:   
Library "FunctionDatestring"
Methods to stringify date/time, altho there is already builtin support for it.

datetime(unixtime) a stringified date stamp at specified unix time.
Parameters:
  • unixtime: int unix timestamp.
Returns: string

date_(unixtime) a stringified date stamp at specified unix time.
Parameters:
  • unixtime: int unix timestamp.
Returns: string

time_(unixtime) a stringified date stamp at specified unix time.
Parameters:
  • unixtime: int unix timestamp.
Returns: string
เอกสารเผยแพร่:
v2

Updated:
datetime(unixtime, format) a stringified date stamp at specified unix time.
  Parameters:
    unixtime: int unix timestamp.
    format: string, string format of the returned time, follows same convetions as str.format(), variables {x} range (0 -> 5).
  Returns: string
เอกสารเผยแพร่:
v3

Updated:
date_(unixtime, format) a stringified date stamp at specified unix time.
  Parameters:
    unixtime: int unix timestamp.
    format: string, string format of the returned time, follows same convetions as str.format(), variables(0: year, 1:month, 2:day).
  Returns: string

time_(unixtime, format) a stringified date stamp at specified unix time.
  Parameters:
    unixtime: int unix timestamp.
    format: string, string format of the returned time, follows same convetions as str.format(), variables (0:hour, 1:minutes, 2:seconds).
  Returns: string
ไลบรารีไพน์

จิตวิญญาณที่แท้จริงของ TradingView ผู้เขียนได้ตีพิมพ์รหัส Pine นี้เป็นไลบรารีโอเพนซอร์ซเพื่อให้โปรแกรมเมอร์คนอื่น ๆ จากชุมชนของเราสามารถนำไปใช้ซ้ำได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ไลบรารีนี้เป็นการส่วนตัวหรือในสิ่งพิมพ์โอเพนซอร์สอื่น ๆ แต่นำรหัสนี้มาใช้ซ้ำในสิ่งพิมพ์จะถูกควบคุมโดย กฎระเบียบการใช้งาน

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการใช้ไลบรารีนี้หรือไม่?

คัดลอกข้อความไปยังคลิปบอร์ดแล้ววางลงในสคริปต์ของคุณ