Welcome, Guest
Username: Password: Remember me

TOPIC: Function : Days of the Year?

Function : Days of the Year? 3 months 4 weeks ago #1468

  • arifcorp
  • arifcorp's Avatar
  • Offline
  • Junior Member
  • Posts: 27
  • 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? 3 months 3 weeks ago #1472

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 516
  • Thank you received: 71
  • Karma: -110
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