473,324 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Problem in Date Function

40
Hi,

I am using localtime() function to fetch the date and time.

But the problem arise is when the user change the date and time .,
it will affect the program also..

Is there any function available in perl to fetch the system date..
Apr 19 '08 #1
5 1465
numberwhun
3,509 Expert Mod 2GB
Hi,

I am using localtime() function to fetch the date and time.

But the problem arise is when the user change the date and time .,
it will affect the program also..

Is there any function available in perl to fetch the system date..
If you read that documentation for localtime() on perldoc, you will read that localtime() reads the date via the time function, which I believe does pull the time from the system.

Regards,

Jeff
Apr 20 '08 #2
cnsabar
40
Hi.,

I used the localtime() function in perl.. it returns the current time from the system.
When I change the date/time from the system Date Time Properties. It returns the modified date..

But I need a Date/Time which will fetch from BIOS / some standard server.
which wont affect when user chages the date/time properties from the system.

Is it possible..
Looking for Ur idea and suggestions
Apr 24 '08 #3
numberwhun
3,509 Expert Mod 2GB
Hi.,

I used the localtime() function in perl.. it returns the current time from the system.
When I change the date/time from the system Date Time Properties. It returns the modified date..

But I need a Date/Time which will fetch from BIOS / some standard server.
which wont affect when user chages the date/time properties from the system.

Is it possible..
Looking for Ur idea and suggestions
Sorry for the misunderstanding. In that case, you may want to look at something like this.

Regards,

Jeff
Apr 24 '08 #4
cnsabar
40
Sorry for the misunderstanding. In that case, you may want to look at something like this.

Regards,

Jeff
Hi Jeff.,

Sorry for belated reply.,
I go through the link specified by U in last thread..

but it didn't give any result when I run the sample script in the specified module.
May 2 '08 #5
numberwhun
3,509 Expert Mod 2GB
Hi Jeff.,

Sorry for belated reply.,
I go through the link specified by U in last thread..

but it didn't give any result when I run the sample script in the specified module.
The code shown in the module is for retrieving the current time. You would have to code to have the system time changed to match. You could script this and then put it into the system scheduler (cron on Unix), to run as often as you like.

Regards,

Jeff
May 6 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: rdlebreton | last post by:
Hi, Folks! I've been trying to develop my own version of these draggable layers and I have been limiting myself to IE6...for now. I have looked at some other examples to get ideas of creating...
3
by: carl.barrett | last post by:
Hi, I have a number of buttons on a form which run mailmerges. Next to each button is a text box/control that the user enters a date into when the letter was created/merged. When the user...
12
by: Assimalyst | last post by:
Hi, I have a working script that converts a dd/mm/yyyy text box date entry to yyyy/mm/dd and compares it to the current date, giving an error through an asp.net custom validator, it is as...
1
by: Nacho | last post by:
Hello.. I have one problem with my reusable function to validate date.. I want to use this function to all my web project no validate date, but It's works fine if I have one textbox to...
7
by: Kamal | last post by:
Hello all, I have a very simple html table with collapsible rows and sorting capabilities. The collapsible row is hidden with css rule (display:none). When one clicks in the left of the...
2
by: sorobor | last post by:
dear sir .. i am using cakephp freamwork ..By the way i m begener in php and javascript .. My probs r bellow I made a javascript calender ..there is a close button ..when i press close button...
31
by: ajos | last post by:
hi frnds, i have a form,which has 2 input text boxes, the values are entering the text boxes,when i leave the 2 text boxes blank and hit submit a java script gives the message that the 2 fields are...
2
osward
by: osward | last post by:
Hello there, I am using phpnuke 8.0 to build my website, knowing little on php programing. I am assembling a module for my member which is basically cut and paste existing code section of...
0
by: mathewgk80 | last post by:
HI all, I am having popup calendar Javascript code. But i dont know how it is connecting to asp.net code.. I am using asp.net,c#.net and also using 3tier architecture with master page.... I...
11
by: jessy | last post by:
Hi, I have a problem with my DateTimePicker javascript code which i downloaded , the problem is when i pick the date and the date appears in my Text Field and i click Submit the date which i picked...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.