Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

دریافت دو فرمت از نمایش تاریخ #77

Open
ungis opened this issue Aug 6, 2021 · 0 comments
Open

دریافت دو فرمت از نمایش تاریخ #77

ungis opened this issue Aug 6, 2021 · 0 comments

Comments

@ungis
Copy link

ungis commented Aug 6, 2021

سلام و ممنون بابت زحمتتون
ممکنه لطف کنید و به من بگید چطور میشه دو تا فرمت تاریخ رو از کد گرفت. مثلن من میخواهم که در نمایش تاریخ از این فرمت

formatDate: "YYYY ND DD NM",

ولی برای ذخیره متغیر از فرمت استاندارد

"YYYY/MM/DD"

استفاده بشه. من سعی کردم که کد رو دوباره ری فرمت کنم

 onSelect: function() {
                   var jselectedDate;
                   formatDate: "YYYY/MM/DD",
                    console.info($("#input1").attr("data-jdate"));
                },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant