15,663,727 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Python questions
View Javascript questions
View C++ questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by zeeShan anSari (Top 8 by date)
zeeShan anSari
19-Apr-21 12:37pm
View
My input is 637532118000166280 and your suggested formula is return 2021-04-05 05:30:00.016000 but I need 2021-04-05 09:30:00.016628. Actual code:
// NB a tick is commonly 100 nanoseconds
var epoch = 621355968000000000; // ticks up to Jan 1 1970
var tdate = data; // the date in ticks
var dt = tdate - epoch; // rebase to Jan 1 1970
var millisec = dt/10000; // convert to milliseconds
var d = new Date(millisec); // create a Javascript Date object
return moment(d).format("YYYY-MM-DD hh:mm:ss.SSSSSS");
Thanks for your quick response.
zeeShan anSari
19-Apr-21 11:56am
View
It converts up to 3 precision but I need up to 6 precision. What should I do.
zeeShan anSari
31-Mar-21 18:01pm
View
Nice explanation...Its work. thanks!
zeeShan anSari
1-Apr-14 11:07am
View
oK...but i want pass json data and it can be huge data. For example I want pass grid data to server side.
I can fix this issue by change in angular.js and where replace the {"d":null} and it is working!
Thanks,
zeeShan anSari
3-Feb-14 15:57pm
View
Yes,
My method is working on asp.net/aspx page but I want use this method from razor/cshtml page.
Thanks,
zeeShan anSari
3-Jan-13 14:22pm
View
no global.asax can't catch the error in pagemethod.
zeeShan anSari
3-Jan-13 14:16pm
View
let's suppose there are many PageMethods in different pages of website. But now i want make a generic exception handler because i don't want change in my code. Like as function endRequest(sender, args) for PageRequestManager.
zeeShan anSari
2-Dec-11 15:39pm
View
Can i use reflection?
Show More