Welcome, Guest
Username: Password: Remember me

TOPIC: Function : Days of the Year?

Function : Days of the Year? 2 years 10 months ago #1468

  • arifcorp
  • arifcorp's Avatar
  • Offline
  • Senior Member
  • Posts: 46
  • Karma: 0
Hi,
Is there a way to get the day of the year? The functions has for week and, month.

I need to write a script for every change of date to insert a record to the database table.

Thanks
The administrator has disabled public write access.

Function : Days of the Year? 2 years 10 months ago #1472

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello,

You can use function datetime(5) to get date of the month for your purposes: teslascada.com/HTML/date-and-time-library2.html
If you want to get date of the year you can count by using number of month datetime(6).

Best regards,
Ruslan
The administrator has disabled public write access.
Go to top