Welcome, Guest
Username: Password: Remember me

TOPIC: Function : Days of the Year?

Function : Days of the Year? 3 years 5 months ago #1468

  • arifcorp
  • arifcorp's Avatar
  • Offline
  • Senior Member
  • Posts: 46
  • Karma: -3
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? 3 years 5 months ago #1472

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 863
  • Thank you received: 126
  • Karma: -108
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