Skip to content

Instantly share code, notes, and snippets.

View khalili-mahdi's full-sized avatar
🧑‍💼
Working

Mahdi khalili khalili-mahdi

🧑‍💼
Working
  • UK
View GitHub Profile
@khalili-mahdi
khalili-mahdi / PersianDate.cs
Created May 1, 2019 06:45
Date Converter Shamsi-Georgian (persian time converter)
public static class CDate
{
public static int ToDay_Special_Year(int SAll1)
{
DateTime ps1;
ps1 = DateTime.Now;
int FYear = ps1.Year;
int FMonth = ps1.Month;
int FDay = ps1.Day;
int FDow = (int)(ps1.DayOfWeek);
@khalili-mahdi
khalili-mahdi / html2canvas.js
Created January 13, 2019 10:34
edited Persian Support html2canvas
/*
html2canvas 0.4.1 <http://html2canvas.hertzen.com>
Copyright (c) 2013 Niklas von Hertzen
Released under MIT License
*/
(function(window, document, undefined) {
"use strict";