Method Calendar.Stardate.cTick()->create()
- Method create
Calendar.Stardate.cTick Calendar.Stardate.cTick(
mixed
...args
)
Calendar.Stardate.cTick Calendar.Stardate.cTick(
int
|float
date
)
Calendar.Stardate.cTick Calendar.Stardate.cTick()
- Description
Apart from the standard creation methods (julian day, etc), you can create a stardate from the stardate number. The length of the period will then be zero.
You can also omit any arguments to create now.
- Bugs
Since the precision is limited to the float type of Pike you can get non-precise results:
> Calendar.Second(Calendar.Stardate.Day(Calendar.Year())); Result: Second(Fri 31 Dec 1999 23:59:18 CET - Sun 31 Dec 2000 23:59:18 CET)