BlackBerry Link and macOSX Sierra issue

You might find it difficult to sync with any BB devices after updating your os to latest version, which is in current time Sierra.

After some digging finally found a good solution which works.

[Solution for BB10 and Mac OS Sierra]

Disconnect all USB cables.
Uninstall all BB software using the “Uninstall program from BB Link – you can download it and use the uninstall feature.

Go to System Preferences/Network on you mac.
Check the USB connections on the left for duplicate names for Blackberry and delete duplicate.
For the Blackberry Connection remaining, Under the Advanced Tab ensure that Hardware configuration is set to Auto.
Hit apply.
Reboot without any USB cables attached.
Do a hard reboot of BB10.

Reinstall BB Link by using the following method:
1) Double click on Blackberry Link dmg
2) On the open Icon “Install Blackberry 10 Desktop Software” right click – show package contents
3) Double Click on Contents, double click on Resources, double click Blackberry Blend.pkg
4) Installation program should open, click install Blackberry Link
5) Run the install program and then reboot.

On your BB, under USB enable USB Mass Storage Mode. This seems to get the Passport recognized in Sierra once you enter the device password on your computer

Open BB Link. It will recognize your BB device as a new one. Follow the instructions and BB Link should work after you enter the BB device password. Can’t get Blend to work yet.

Content source: http://forums.crackberry.com/blackberry-passport-f434/end-line-1088365/

Advertisements

php date time formatting

// THIS IS INVALID, WOULD IMPLY MONTH == 19
$external “19/10/2016 14:48:21”;

// HOWEVER WE CAN INJECT THE FORMATTING WHEN WE DECODE THE DATE
$format “d/m/Y H:i:s”;
$dateobj DateTime::createFromFormat($format$external);

 
echo $dateobj->format(‘Y-m-d H:i:s’);
 
 
Or
$date = new DateTime(‘2000-01-01’);
echo $date->format(‘Y-m-d H:i:s’);
 
to get current datetime simply:
$date = new DateTime();
Sources: