Post Reply 
date(time) python libraries
10-28-2023, 06:39 AM
Post: #2
RE: date(time) python libraries
Python for HP Prime is still in the development stage, and not everything is available. At the moment, you can use the hpprime library to reference PPL instructions.
For example:

Code:
import hpprime as h
n=365
d=h.eval('DATEADD(Date,%i)' %n)
print(d)

There are also DDAYS, DAYOFWEEK and TICKS instructions available.

Best wishes,
Piotr
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
date(time) python libraries - Allaman - 10-22-2023, 12:02 PM
RE: date(time) python libraries - komame - 10-28-2023 06:39 AM
RE: date(time) python libraries - Allaman - 10-28-2023, 07:53 AM



User(s) browsing this thread: 1 Guest(s)