1
SirSaeed
Date conversion
  • 2014/1/1 17:49

  • SirSaeed

  • Just popping in

  • Posts: 12

  • Since: 2014/1/1 1


Hey guys

I'm using Xoops 2.5. Persian. I wonder how can I utilize the internal date function (that returns Persian or Jalali calendar) as a conversion tool, so I can give it the Gregorian date and receive the equivalent Jalali date.

I'd appreciate your help.

2
Mamba
Re: Date conversion
  • 2014/1/7 16:43

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Irmtfan would be the best one to ask, since he is expert in this area. Maybe you could reach out to him in Persian support site?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
SirSaeed
Re: Date conversion
  • 2014/1/8 23:15

  • SirSaeed

  • Just popping in

  • Posts: 12

  • Since: 2014/1/1 1


Persian support site practically does not work! So I thought maybe I can find answers here.

4
irmtfan
Re: Date conversion
  • 2014/1/9 16:12

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Hi
The final solution for this is adding Jquery date picker to xooops core.
I replied you here:
http://www.xoops.ir/modules/newbb/viewtopic.php?topic_id=2773

5
SirSaeed
Re: Date conversion
  • 2014/1/12 8:07

  • SirSaeed

  • Just popping in

  • Posts: 12

  • Since: 2014/1/1 1


Yeah, but the answer wasn't actually useful. It seems like it needs a pro knowledge level of Xoops.

6
SirSaeed
Re: Date conversion
  • 2014/1/19 9:54

  • SirSaeed

  • Just popping in

  • Posts: 12

  • Since: 2014/1/1 1


The answer to my original question was to simply use gregorian_to_jalali() function!

I don't know why I never bothered checking language files and how nobody answered this simple question.

7
Mamba
Re: Date conversion
  • 2014/1/19 15:21

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I thought that Irmtfan responded to you.

I never used Persian calendar, so I had no idea and couldn't help you.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

185 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits