Sync date and time with NTP??
Hi all,
I'm looking to figure out how my Solaris 10 sync is date/time.
I've looked in /etc/inet/ntp.conf and the file doesn't exist. I've looked at the "svc -l ntp" and here's what I got
fmri svc:/network/ntp:default
name Network Time Protocol (NTP)
enabled false
state disabled
next_state none
state_time Tue May 19 23:35:40 2009
restarter svc:/system/svc/restarter:default
dependency require_all/error file://localhost/usr/sbin/ntpq (online) file://localhost/usr/sbin/ntpdate (online)
dependency require_any/error svc:/network/service (online)My question is where else can it be set??
Thx
So I finally figured out how the time was set.
My bad. I was a little bit confuse on some comamnd switching from BSD, Linux and Solaris.
There's an entry in crontab (didn't remember that to see crontab it was crontab -l) so there is a cron for ntpdate command.
Thanx all for trying to help me.
Similar Messages
-
How to show Date and Time with TimeZone
Dear All,
I have to show Date and Time with TimeZone abbreviation,
for example:
1) 31 March 2011 2:30 in india standard time - it should show in screen 31 March 2011 2:30 IST.
2) 31 March 2011 2:30 in Australia/New Zealand - Eastern time zone it should show in screen 31 March 2011 2:30 AEST.
how can i show *Australia/New Zealand - Eastern time zone to AEST*,
I tried with format DD MMM YYYY HH:MM zzz, and i looked time zone API too.
Appreciate your help
Thanks
DayaDayananda wrote:
ok, than i have to use zzzz format, as z won't help in my case, so i have to use zzzz which display descriptive value like, Indian Standard Time i.e. ISTPer the javadocs there is a very specific reason why that is a problem especially if you intend to support many timezones in one application.
"+For compatibility with JDK 1.1.x, some other three-letter time zone IDs (such as "PST", "CTT", "AST") are also supported. However, their use is deprecated because the same abbreviation is often used for multiple time zones (for example, "CST" could be U.S. "Central Standard Time" and "China Standard Time"), and the Java platform can then only recognize one of them+."
Thus you have one single case where there can be many and moreover it can change (twice a year I believe.)
There is a standard source for this information although when I tried it it appears to not work.
If the app only needs to display one zone then provide a configuration value that allows a user to overload the display value.
If the app needs to display many values then you MUST inform business users of the problem because there are duplicates and they, not you, need to decide specifically what happens in those cases. -
How to pass system date and time with tabular from in Update only Mode.
Dear Friends,
i have created tabular form with UPDATE Only .here i am assigning work to another multiple users.i want to insert system date and time when i assign work to multiple users.
How can i insert system date and time into table using tabular form in Update Only Mode.
beacuse i have pass in default system date it's working only with add row button.
How can i pass system date and time in update mode in tabular form.
ThanksHi,
You just create a trigger on the table on which you build your tabular form:
e.g:
CREATE OR REPLACE TRIGGER "AUDITING"
before insert or update on "MYTABLE"
for each row
begin
if inserting then
:new.created_on := localtimestamp;
:new.created_by := nvl(v('APP_USER'),user);
elsif updating then
:new.updated_on := localtimestamp;
:new.updated_by := nvl(v('APP_USER'),user);
end if;
end;Regards,
Fateh -
Changing Date and Time with dng files
My camera settings for date and time were wrong.
So some of my files in Lightroom 3 have the wrong dates.
This morning I downloaded Photoinfo 2.0.1 but it doesn't seem to want to accept "dng" files to change the info.
It will accept "jpeg" files no problem.
Can anyone help me with this.
ThanksOpen the Catalog Setting panel (Lightroom menu on Mac and Edit menu on Windows). Configure the Metadata>Exif tab as shown in red on screenshot. Select your images and choose Save Metadata to File (Ctrl/Cmd+S) from Metadata menu (same menu as Edit Capture time. This will save the date/time changes back into the file rather than just the catalog.
-
Adjusting Date and Time with Video
Does anyone know of a way (or work-around) to change the date and time of video in Aperture? If not in Aperture, perhaps in a different application.
Thanks,
MacAnd I was hoping that the new Aperture Version 3.2.2 would solve this problem, but no luck - it is still not possible.
I tried to use the commandline tool"exiftool" as a work-around, since the "Date" tag is part of the exif tags, but when I type "exiftool" in the Terminal window to see, if it would be possibe to edit the "Date" tag of a video, I see the following list of capabilities:
File Types
−−−−−−−−−−−−+−−−−−−−−−−−−−+−−−−−−−−−−−−−+−−−−−−−−−−−−−+−−−−−−−−−−−−
3FR r | DVB r | M4A/V r | PBM r/w | RWZ r
3G2 r | DYLIB r | MEF r/w | PDF r/w | RM r
3GP r | EIP r | MIE r/w/c | PEF r/w | SO r
ACR r | EPS r/w | MIFF r | PFA r | SR2 r/w
AFM r | ERF r/w | MKA r | PFB r | SRF r
AI r/w | EXE r | MKS r | PFM r | SRW r/w
AIFF r | EXIF r/w/c | MKV r | PGF r | SVG r
APE r | F4A/V r | MNG r/w | PGM r/w | SWF r
ARW r/w | FLA r | MOS r/w | PICT r | THM r/w
ASF r | FLAC r | MOV r | PMP r | TIFF r/w
AVI r | FLV r | MP3 r | PNG r/w | TTC r
BMP r | FPX r | MP4 r | PPM r/w | TTF r
BTF r | GIF r/w | MPC r | PPT r | VRD r/w/c
CHM r | GZ r | MPG r | PPTX r | VSD r
COS r | HDP r/w | MPO r/w | PS r/w | WAV r
CR2 r/w | HTML r | MQV r | PSB r/w | WDP r/w
CRW r/w | ICC r/w/c | MRW r/w | PSD r/w | WEBP r
CS1 r/w | IIQ r/w | MXF r | PSP r | WEBM r
DCM r | IND r/w | NEF r/w | QTIF r | WMA r
DCP r/w | ITC r | NRW r/w | RA r | WMV r
All movie formats are listed as "r" (read only, not read/write), so even with "exiftool" you will not be able to modify the date, unless you try brute force and edit your movie in iMovie or any other movie editor and render a new movie with your computer's date and time set to a different time. -
Date (date and time) with MySQL, register here!
Hi,
Summary:
I have a page (form) to capture attendance. It works, it allows user to enter their attendance details. On click, it writes to the database - table. The date is not captured on the form. I want to date stamp this by inserting a date (date and time - declared field). I will provide source code. Please pin point what code I should be inserting and wheres about within this code.
Question:
Insert date and time into database table -
Code:
<?php require_once('Connections/dbAttendance.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) {
$insertSQL = sprintf("INSERT INTO attendlist (Windowsid, title, firstname, surname, extension, mobile, jobrole, course, cpg, mgrname, room) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['textfield'], "text"),
GetSQLValueString($_POST['select'], "text"),
GetSQLValueString($_POST['textfield2'], "text"),
GetSQLValueString($_POST['textfield3'], "text"),
GetSQLValueString($_POST['textfield4'], "text"),
GetSQLValueString($_POST['textfield5'], "text"),
GetSQLValueString($_POST['select5'], "text"),
GetSQLValueString($_POST['select2'], "text"),
GetSQLValueString($_POST['select4'], "text"),
GetSQLValueString($_POST['textfield7'], "text"),
GetSQLValueString($_POST['select3'], "text"));
mysql_select_db($database_dbAttendance, $dbAttendance);
$Result1 = mysql_query($insertSQL, $dbAttendance) or die(mysql_error());
$insertGoTo = "Thankyou.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $insertGoTo));
mysql_select_db($database_dbAttendance, $dbAttendance);
$query_rsAttendance = "SELECT * FROM attendlist";
$rsAttendance = mysql_query($query_rsAttendance, $dbAttendance) or die(mysql_error());
$row_rsAttendance = mysql_fetch_assoc($rsAttendance);
$totalRows_rsAttendance = mysql_num_rows($rsAttendance);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Delegate Register</title>
<link href="Registerpage.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
</head>
<?php
$date = date(“format”, $timestamp);
?>
<body>
<div class="container">
<div class="header"><img src="Cerner At Imperial2.jpg" width="960" height="150" alt="" /><!-- end .header --></div>
<div class="content">
<h3>Register: <?php echo "Date - ".date("d/m/Y - H:ia")?></h3>
<form action="<?php echo $editFormAction; ?>" method="post" name="form">
<table width="780" border="0">
<tr>
<td><div align="right">User ID *</div></td>
<td><span id="sprytextfield1">
<input name="textfield" type="text" id="textfield" tabindex="1" size="18" maxlength="10" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
<td> </td>
</tr>
<tr>
<td><div align="right">Title *</div></td>
<td><span id="spryselect1">
<select name="select" id="select" tabindex="2">
<option value="0">Select</option>
<option value="1">Ms</option>
<option value="2">Mrs</option>
<option value="3">Mdm</option>
<option value="4">Dr</option>
<option value="5">Mr</option>
<option value="6">Prof</option>
</select>
<span class="selectRequiredMsg">Please select an item.</span></span></td>
<td> </td>
</tr>
<tr>
<td><div align="right">First name*</div></td>
<td><span id="sprytextfield2">
<input name="textfield2" type="text" id="textfield2" tabindex="3" size="30" maxlength="30" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
<td> </td>
</tr>
<tr>
<td><div align="right">Surname *</div></td>
<td><span id="sprytextfield3">
<input name="textfield3" type="text" id="textfield3" tabindex="4" size="30" maxlength="30" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
<td> </td>
</tr>
<tr>
<td><div align="right">Contact / Bleep *</div></td>
<td><span id="sprytextfield4">
<input name="textfield4" type="text" id="textfield4" tabindex="5" size="30" maxlength="30" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
<td> </td>
</tr>
<tr>
<td><div align="right">Mobile no: (optional)</div></td>
<td><input name="textfield5" type="text" id="textfield5" tabindex="6" size="20" maxlength="20" /></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><div align="right">Job Role *</div></td>
<td><span id="spryselect5">
<select name="select5" id="select5" tabindex="7">
<option value="0">Select </option>
<option value="1">Doctor</option>
<option value="2">Nurse IP</option>
<option value="3">Nurse OP</option>
<option value="4">Midwife</option>
<option value="5">Booking Clerk</option>
<option value="6">Medical Secretary</option>
<option value="7">OP Receptionist</option>
<option value="9">CNS/NP</option>
<option value="10">Tester</option>
</select>
<span class="selectRequiredMsg">Please select an item.</span></span></td>
<td> </td>
</tr>
<tr>
<td><div align="right">Manager's Name *</div></td>
<td><span id="sprytextfield5">
<input name="textfield7" type="text" id="textfield7" tabindex="8" size="30" maxlength="30" />
<span class="textfieldRequiredMsg">A value is required.</span></span></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><div align="right">Course *</div></td>
<td><span id="spryselect2">
<select name="select2" id="select2" tabindex="9">
<option value="0">Select</option>
<option value="1">Demo</option>
<option value="2">Doctors</option>
<option value="9">CNS/NP</option>
<option value="3">Nurse IP</option>
<option value="4">Nurse OP</option>
<option value="5">Midwife</option>
<option value="6">Booking Clerk</option>
<option value="7">Medical Secretary</option>
<option value="8">OP Receptionist</option>
</select>
<span class="selectRequiredMsg">Please select an item.</span></span></td>
<td> </td>
</tr>
<tr>
<td><div align="right">Location *</div></td>
<td><span id="spryselect3">
<select name="select3" id="select3" tabindex="10">
<option value="0">Select </option>
<option value="1">CHX 12 Floor Rm 1</option>
<option value="2">CHX 12 Floor Rm 2</option>
<option value="3">CHX 10 West </option>
<option value="4">HH N207 </option>
<option value="5">HH W12 Conference</option>
<option value="6">SMH Rm a</option>
<option value="7">SMH Rm b</option>
<option value="8">SMH Ming Wing Rm 5</option>
<option value="9">SMH Ming Wing Rm 3</option>
</select>
<span class="selectRequiredMsg">Please select an item.</span></span></td>
<td> </td>
</tr>
<tr>
<td><div align="right">CPG *</div></td>
<td><span id="spryselect4">
<select name="select4" id="select4" tabindex="11">
<option value="0">Select </option>
<option value="1">CPG 1 - Medicine</option>
<option value="2">CPG 2 - Surgery and Cancer</option>
<option value="3">CPG 3 - Specialist Services </option>
<option value="4">CPG 4 - Circulatory Services and Renal Medicine</option>
<option value="5">CPG 5 - Womens and Children</option>
<option value="6">CPG 6 - Clinical and Investigative Sciences</option>
<option value="7">CPG 7 - Private Patients</option>
<option value="8">Others</option>
</select>
<span class="selectRequiredMsg">Please select an item.</span></span></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><input name="button" type="submit" id="button" value="Submit" /></td>
<td> </td>
</tr>
<tr>
<td><div align="center">*Mandatory fields </div></td>
<td> </td>
<td> </td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="form" />
</form>
<!-- end .content --></div>
<div class="footer">
<p align="center">
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
<p align="center"> Cerner@Imperial ICT Training Team </p>
</p>
<!-- end .footer --></div>
<!-- end .container --></div>
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur", "change"]});
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["change", "blur"]});
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {validateOn:["blur", "change"]});
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "none", {validateOn:["blur", "change"]});
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {validateOn:["blur", "change"]});
var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {validateOn:["change", "blur"]});
var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3", {validateOn:["change", "blur"]});
var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4", {validateOn:["change", "blur"]});
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none", {validateOn:["blur", "change"]});
var spryselect5 = new Spry.Widget.ValidationSelect("spryselect5", {validateOn:["blur", "change"]});
</script>
</body>
</html>
<?php
mysql_free_result($rsAttendance);
?>There are several ways. One is to get the date from the php time() function and use that in your insert statement. Another is to use MySQL CURDATE() function. But probably the easiest and best is to simply define the default value for the date/time column as the current date/time and exclude it from the insert statement. No code changes necessary.
http://dev.mysql.com/doc/refman/5.0/en/timestamp-initialization.html -
How to read date and time with Oracle_Loader (10g)
ip pc username date time
1.1.1.1 WS1 test 2000/01/01 01:01:01
I am trying to read the date and time from data formatted as above from a .txt file.
create TABLE test (IP char(20), OCID char(15), ID char(30), date_logon date, time_logon date)
ORGANIZATION EXTERNAL (TYPE ORACLE_loader DEFAULT DIRECTORY phonebook
ACCESS PARAMETERS (FIELDS TERMINATED BY WHITESPACE
(IP char(20),
OCID char(15),
ID char(30),
date_logon char(30) DATE_FORMAT DATE MASK "yyyy/mm/dd",
time_logon char(30) date_FORMAT date MASK "hh24:mi:ss"))
LOCATION ('test.log'));
However, my external table returns a date (2007-05-01) AND the time for the time_logon column (e.g. 2007-05-01 01:01:01) . I just want the time (e.g. 01:01:01).
What am I doing wrong?
*I tried: date_logon char(30) DATE_FORMAT DATE MASK "yyyy/mm/dd hh24:mi:ss", reading both the date and time at the same time, but it doesn't work.
Thanks.Justin, thank you so much for your help.
When I try:
SELECT a.ip, a.ocid, a.id, TO_CHAR( a.date_logon, 'DD-MON-YYYY HH24:MI:SS' )
FROM test a
date_logon entries are all dd-mon-yyyy and 00:00:00 (i.e. no time was stored).
I don't have control over the text file, so I don't think I can make any changes to the formatting.
I tried to declare the column as 'timestamp':
date_logon char(60) DATE_FORMAT timestamp MASK "yyyy/mm/dd hh24:mi:ss",
but time is still displayed as 00:00:00:000.... which leads me to suspect that the culprit is the space between date and time in the text file.
Say if I have 2007/05/25 and 2007/05/01 16:19:23 in two separate date columns. Is it possible to grab the time from the second column and append it to the first column (while still retaining the DATE property, i.e. 2007/05/25 16:19:23).
Thanks! -
Creating a folder on my HD with /current/ date and time with iCal
hi all.
new user here trying to tighten things up over here.
can anyone advise me as to whether there is a way to do this with iCal? i'd like to have a folder like this so i can see it easily on my various external backup drives and basically know very quickly how recent the update is that i am looking at.
also, is there a lot more to iCal than simply keeping my calendars updated and synce and possibly posted to the web or shared with others or whatever? i am loving the sync ability and the sonorous alerts but i am wondering if i can/need to read up on additional functionalities in iCal that keep me organized.
TIAIt's not clear what tool you are using to automate the process.
At least one of the 3rd-party Crystal Reports Desktop Scheduling tools listed at: http://www.kenhamady.com/bookmarks.html provides that functionality. It allows you to use Crystal Reports fields or formulas to dynamically set the export file path and name. -
Cisco SPA525g2 Date and time Not Synced with the PBX server
Hello,
We have a couple of SPA525g2 phone connected and registered to our PBX server. We were able to configure 3 extensions on different lines of the phone. However, at times we were encountering issues with the other lines configured on the phone. There are times wherein 1 extension configured on the phone is having one way audio issue, but the other extensions configured on the same phone is working fine. and we have to reboot/reset the phone several times for all the extesions configured on the phone to work.
Also, whenever we reset the phone, the date and time will be way way behind the current date and time, eventhough we have already set the correct date and time before we reset the phone.
How can we resolve the one way audio issue on 1 or 2 extensions of the phone, while the other extensions configured to it is working fine?
How can we make the phone sync the date and time with the PBx server?
Any input and help regarding this issue is greatly appreciated...
Btw, date and time issue not sync with the PBX server is just happening on SPA525g2, we have other phones like SPA303, SPA504, and SPA232D/SPA302D. All other phones' date and time is in sync with the server even though we reset them except SPA525g2.
Thank you very much,PeterMacSF,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
How to display the current Date and time in xslt version 1
i am using xslt version 1 .i want to display the current date and time in the output xml using xslt(Jdeveloper) ..i just added the namespace xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ns1="urn:oracle:integration:b2b:7D30046DC68A4FA689956D8241FA3B99">
and used thsi function <xsl:value-of select = "xp20:current-date()"/>
but it does not works for me ..help needed????
Edited by: user9519185 on Jan 20, 2009 3:04 AMUse a formula: =NOW()
Format the cell for Date and Time, with both the Date part and the Time part displayed. Format the two parts as you wish, using the choices in the Inspector's menus.
The cell will update each time the table is recalculated.
(Description is for Numbers '09 (Mac), Numbers for iOS will be similar, but not necessarly identical in details.)
Regards,
Barry -
Current Date and Time in JLabel
Hi i am fairly new to Java and i would like to know how i can get a label to show the current date and time ( with seconds) to show up in the top right hand corner.
Thank you.Hi i am fairly new to Java and i would like to know
how i can get a label to show the current date and
time ( with seconds) to show up in the top right hand
corner.
Thank you.You can use TimerTask to do it. also go through the api for Calendar, Date and DateFormat. -
Lost clips after adjusting date and time??
I just updated to iMovie 10.0.3 and adjusted a buch of events in iMovie. All of them were incorrectly placed in wrong years when viewing in "by date" format. After adjusting the date and time with the event highlighted, I come to see either all or some (a clip of two) of the event is lost. The good old "missing file" is what I get in the playback window.
I want to go on an anti-iMovie rant as this version has caused me NOTHING but headaches sence I installed it last year but it's MY fault for not having a spare iMovie 9.0 laying around so I cannot revert.
Is there any solution here besides wiping my iMovie library clean and restoring from TM?
Thanks.
EDIT, I just looked in each event in the file system and the original media is not even there anymore but the library size hasnt changed. Wow. I don't get this at all.There seems to be a serious bug here that has been introduced with iMovie 10.0.3, and reported by several posters. I would recommend you report it using Apple feedback at: http://www.apple.com/feedback/
There is probably a particular infrequent set of conditions that have to exist for a clip to be deleted after using the adjust time and date function, but I've seen no posts yet that have clarified this. Any further details you have would be worth reporting - for example did you change the date/time to earlier or later? If only some date/time changed clips have disappeared, do they have anything in common, not shared by the clips which havn't disappeared?
You could restore your library from Time machine or, if there are not many lost clips it may be simpler and quicker s to re-import (or drag and drop) the clips from a backup and correct affected projects. (Maybe you can change their date and time before importing them).
As for the library size were the clips big enough to make a visible difference to the library total?
Have you searched for the missing clips by name?
Geoff. -
I have date and time with different format , Need in Single date and Time format.
Input
13/03/15 09:09
13/03/15 07:39
13/03/15 08:09
13/03/15 08:51
3/13/15 09:39:14 AM
3/13/15 09:38:14 AM
3/13/15 09:37:59 AM
3/13/2015 09:37:59 AM
Problem with the below Output
01/01/01 12:00 AM
01/01/01 12:00 AM
01/01/01 12:00 AM
01/01/01 12:00 AM
13/03/15 09:39 AM
13/03/15 09:38 AM
Output required in the below format for all of the above date and Time with proper date & time
13/03/15 09:39 AMIndudhar,
I don't know if the following will help or not, but hopefully you can see what I'm doing and modify it to give you the string format of the DateTime the way you want it:
ption Strict On
Option Explicit On
Option Infer Off
Public Class Form1
Public Enum DateTimeFormat
LongDateLongTime
LongDateShortTime
ShortDateLongTime
ShortDateShortTime
LongDateOnly
ShortDateOnly
LongTimeOnly
ShortTimeOnly
End Enum
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
' Test it here...
Stop
End Sub
Private Function GetFormattedDateTimeString(ByVal dt As DateTime, _
ByVal formatType As DateTimeFormat) As String
Select Case formatType
Case DateTimeFormat.LongDateLongTime
Return String.Format("{0} {1}", _
dt.ToLongDateString, _
dt.ToLongTimeString)
Case DateTimeFormat.LongDateOnly
Return dt.ToLongDateString
Case DateTimeFormat.LongDateShortTime
Return String.Format("{0} {1}", _
dt.ToLongDateString, _
dt.ToShortTimeString)
Case DateTimeFormat.LongTimeOnly
Return dt.ToLongTimeString
Case DateTimeFormat.ShortDateLongTime
Return String.Format("{0} {1}", _
dt.ToShortDateString, _
dt.ToLongTimeString)
Case DateTimeFormat.ShortDateOnly
Return dt.ToShortDateString
Case DateTimeFormat.ShortDateShortTime
Return String.Format("{0} {1}", _
dt.ToShortDateString, _
dt.ToShortTimeString)
Case DateTimeFormat.ShortTimeOnly
Return dt.ToShortTimeString
Case Else
Return String.Empty
End Select
End Function
End Class
I hope that helps. :)
Still lost in code, just at a little higher level.
No Frank, Same Problem.....Kindly help me X1 = 14/03/15 19:30
I need time Diff of now and X1
Dim myDateTime As DateTime = GetFormattedDateTimeString(X1, DateTimeFormat.ShortDateOnly)
myDate = myDateTime.ToString("dd/MM/yy")
myTime = myDateTime.ToString("hh:mm tt")
Dim myDateTime1 As DateTime = Now
Dim myDate1 = myDateTime1.ToString("dd/MM/yy")
Dim myTime1 = myDateTime1.ToString("hh:mm tt")
Dim diff As TimeSpan = myDateTime1.TimeOfDay - myDateTime.TimeOfDay
Dim diffString As String = String.Format("{0:00}:{1:00}:{2:00}", _
Math.Abs(diff.Hours), Math.Abs(diff.Minutes), Math.Abs(diff.Seconds)) -
Manipulating imports or photos events dates and times
It's a simple question and obviously related to the subject, but I'm trying to find out if it is possible to manipulate imports of images from an I device, we have an Apple Mac that has images on spreading over 3years, obviously with the event dates and times logged, but between each of the photos there are thousands of other images, therefore I would like to know if it is possible to slip images into iPhoto between these thousands of images and alter the date and time of the import or image
plus is there any way I can bring import logs up within iPhoto?iPhoto has two ways to change the date of photos.
From the Photos menu select "Adjust Date and time". That will let you shift the dates of all selected photos by a fixed amount.
Or use "Photos > Batch Change". This way you can set the date of photos to a fixed date and time, with a optional increment between the photos. This is very useful for scans, where no capture date has been recorded.
To change the dates of events, change the date of the photos inside, or split the events, if you want to insert a different event in between. You can split an event by sorting the photos according to date and selecting a photo in the event. Then use the command "Events > Split event". -
HT1595 My AppleTV seems to be stuck on the "Setting Date and Time" load page
I just moved from a house to an apartment and when I hooked up my appleTV it said "Setting date and time" with a spinning load wheel and it's been doing this for a long time now. I hit MENU on the remote and tried going to Settings> General> Network like it said at the bottom of the screen, but nothing happened. It's connected to the right WiFi network, but the only icons it shows on the home screen are the 'Computers' icon (for Home Sharing) and the 'Settings' icon. My movies, music, tv shows, netflix etc. icons aren't showing up. I restarted it and got as far as the "Setting date and time" load page again, where it just sits and loads.
Welcome to the Apple Community.
Assuming this is not the first time you have used your Apple TV
1. You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
2. Also try restarting the router.
3. If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
If this is a new Apple TV, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.
Maybe you are looking for
-
Running DS-5 armcc compiled code (PIC) under Windows EC 2013
Hi All, i just wanted to know if it is generally (officially) supported to run code that is compiled via the armcc (5.03) from DS-5 under Windows Embedded Compact 2013. Or if this is discouraged (reasons?). The problem i have: The bootloader contains
-
Help to reinstall OS X afetar hard drive replacement
Hello. I have a Mac book pro 17" model A1297. I have no recovery media, and his hard drive is bad. Several times it doesn't startup properly. I have a brand new 500gb HDD, and I can replace the original HDD. I need help to reinstall OS X, because as
-
We use WCS to migrate AP's to "backup" controllers prior to making changes to our primary wireless controllers. However, this process is long and arduous when your AP's number in the hundreds, a 5-minute failover per AP can take hours. Changing the f
-
Page-based localization currency not working in crystal report.
Hi, I was trying to test out the page-based localization. [https://boc.sdn.sap.com/node/8501|https://boc.sdn.sap.com/node/8501]. All is well datetime, numeric formatting but the currency symbol is not changing. It always get the symbol in the regiona
-
DNG doesn't recognize raw files from my Nikon D800
When I open DNG (v 7.1.0.354) and go to the folder my raw files are in the files are "grayed out." The files came from a Nikon D800. I want to use the files in Photoshop 5 (v 12.0 x64.) The camera raw plug-in currently inside Photoshop 5 is v 6.0.0.2